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:
200
200
- name : Build
201
201
run : pnpm run build
202
202
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
212
212
213
213
- name : Test build
214
214
run : pnpm run test-build
Original file line number Diff line number Diff line change @@ -724,9 +724,7 @@ export const configDefaults = Object.freeze({
724
724
importGlobRestoreExtension : false ,
725
725
renderBuiltUrl : undefined ,
726
726
hmrPartialAccept : false ,
727
- enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN
728
- ? 'resolver'
729
- : false ,
727
+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
730
728
} ,
731
729
future : {
732
730
removePluginHookHandleHotUpdate : undefined ,
@@ -1769,10 +1767,12 @@ export async function resolveConfig(
1769
1767
packageCache,
1770
1768
worker : resolvedWorkerOptions ,
1771
1769
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
+ } ,
1776
1776
future : config . future ,
1777
1777
1778
1778
ssr,
You can’t perform that action at this time.
0 commit comments