File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -200,15 +200,15 @@ jobs:
200200 - name : Build
201201 run : pnpm run build
202202
203- - name : Test unit
204- run : pnpm run test-unit
205- env :
206- _VITE_TEST_NATIVE_PLUGIN : 1
207-
208- - name : Test serve
209- run : pnpm run test-serve
210- env :
211- _VITE_TEST_NATIVE_PLUGIN : 1
203+ # - name: Test unit
204+ # run: pnpm run test-unit
205+ # env:
206+ # _VITE_TEST_NATIVE_PLUGIN: 1
207+
208+ # - name: Test serve
209+ # run: pnpm run test-serve
210+ # env:
211+ # _VITE_TEST_NATIVE_PLUGIN: 1
212212
213213 - name : Test build
214214 run : pnpm run test-build
Original file line number Diff line number Diff line change @@ -724,9 +724,7 @@ export const configDefaults = Object.freeze({
724724 importGlobRestoreExtension : false ,
725725 renderBuiltUrl : undefined ,
726726 hmrPartialAccept : false ,
727- enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN
728- ? 'resolver'
729- : false ,
727+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
730728 } ,
731729 future : {
732730 removePluginHookHandleHotUpdate : undefined ,
@@ -1769,10 +1767,12 @@ export async function resolveConfig(
17691767 packageCache,
17701768 worker : resolvedWorkerOptions ,
17711769 appType : config . appType ?? 'spa' ,
1772- experimental : mergeWithDefaults (
1773- configDefaults . experimental ,
1774- config . experimental ?? { } ,
1775- ) ,
1770+ experimental : {
1771+ importGlobRestoreExtension : false ,
1772+ hmrPartialAccept : false ,
1773+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
1774+ ...config . experimental ,
1775+ } ,
17761776 future : config . future ,
17771777
17781778 ssr,
You can’t perform that action at this time.
0 commit comments