File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,7 @@ export const remixVitePlugin: RemixVitePlugin = (options = {}) => {
334
334
serverBuildPath,
335
335
serverModuleFormat,
336
336
relativeAssetsBuildDirectory,
337
+ future,
337
338
} = await resolveConfig ( config , { rootDirectory } ) ;
338
339
339
340
return {
@@ -347,10 +348,7 @@ export const remixVitePlugin: RemixVitePlugin = (options = {}) => {
347
348
serverBuildPath,
348
349
serverModuleFormat,
349
350
relativeAssetsBuildDirectory,
350
- future : {
351
- v3_fetcherPersist : options . future ?. v3_fetcherPersist === true ,
352
- v3_relativeSplatPath : options . future ?. v3_relativeSplatPath === true ,
353
- } ,
351
+ future,
354
352
} ;
355
353
} ;
356
354
@@ -376,11 +374,7 @@ export const remixVitePlugin: RemixVitePlugin = (options = {}) => {
376
374
export const assetsBuildDirectory = ${ JSON . stringify (
377
375
pluginConfig . relativeAssetsBuildDirectory
378
376
) } ;
379
- ${
380
- pluginConfig . future
381
- ? `export const future = ${ JSON . stringify ( pluginConfig . future ) } `
382
- : ""
383
- } ;
377
+ export const future = ${ JSON . stringify ( pluginConfig . future ) } ;
384
378
export const publicPath = ${ JSON . stringify ( pluginConfig . publicPath ) } ;
385
379
export const entry = { module: entryServer };
386
380
export const routes = {
You can’t perform that action at this time.
0 commit comments