File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
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_JS_PLUGIN : 1
207
-
208
- - name : Test serve
209
- run : pnpm run test-serve
210
- env :
211
- _VITE_TEST_JS_PLUGIN : 1
203
+ # - name: Test unit
204
+ # run: pnpm run test-unit
205
+ # env:
206
+ # _VITE_TEST_JS_PLUGIN: 1
207
+
208
+ # - name: Test serve
209
+ # run: pnpm run test-serve
210
+ # env:
211
+ # _VITE_TEST_JS_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 @@ -746,7 +746,7 @@ export const configDefaults = Object.freeze({
746
746
importGlobRestoreExtension : false ,
747
747
renderBuiltUrl : undefined ,
748
748
hmrPartialAccept : false ,
749
- enableNativePlugin : process . env . _VITE_TEST_JS_PLUGIN ? false : 'resolver' ,
749
+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
750
750
} ,
751
751
future : {
752
752
removePluginHookHandleHotUpdate : undefined ,
@@ -1812,10 +1812,12 @@ export async function resolveConfig(
1812
1812
packageCache,
1813
1813
worker : resolvedWorkerOptions ,
1814
1814
appType : config . appType ?? 'spa' ,
1815
- experimental : mergeWithDefaults (
1816
- configDefaults . experimental ,
1817
- config . experimental ?? { } ,
1818
- ) ,
1815
+ experimental : {
1816
+ importGlobRestoreExtension : false ,
1817
+ hmrPartialAccept : false ,
1818
+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
1819
+ ...config . experimental ,
1820
+ } ,
1819
1821
future :
1820
1822
config . future === 'warn'
1821
1823
? ( {
You can’t perform that action at this time.
0 commit comments