Skip to content

Commit 324c97d

Browse files
sapphi-redshulaoda
authored andcommitted
chore: update
1 parent 5a2ca12 commit 324c97d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/vite/src/node/config.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,10 +1754,12 @@ export async function resolveConfig(
17541754
packageCache,
17551755
worker: resolvedWorkerOptions,
17561756
appType: config.appType ?? 'spa',
1757-
experimental: mergeWithDefaults(
1758-
configDefaults.experimental,
1759-
config.experimental ?? {},
1760-
),
1757+
experimental: {
1758+
importGlobRestoreExtension: false,
1759+
hmrPartialAccept: false,
1760+
enableNativePlugin: process.env._VITE_TEST_NATIVE_PLUGIN ? true : false,
1761+
...config.experimental,
1762+
},
17611763
future: config.future,
17621764

17631765
ssr,

0 commit comments

Comments
 (0)