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 @@ -730,9 +730,7 @@ export const configDefaults = Object.freeze({
730
730
importGlobRestoreExtension : false ,
731
731
renderBuiltUrl : undefined ,
732
732
hmrPartialAccept : false ,
733
- enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN
734
- ? 'resolver'
735
- : false ,
733
+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
736
734
} ,
737
735
future : {
738
736
removePluginHookHandleHotUpdate : undefined ,
@@ -1776,10 +1774,12 @@ export async function resolveConfig(
1776
1774
packageCache,
1777
1775
worker : resolvedWorkerOptions ,
1778
1776
appType : config . appType ?? 'spa' ,
1779
- experimental : mergeWithDefaults (
1780
- configDefaults . experimental ,
1781
- config . experimental ?? { } ,
1782
- ) ,
1777
+ experimental : {
1778
+ importGlobRestoreExtension : false ,
1779
+ hmrPartialAccept : false ,
1780
+ enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN ? true : false ,
1781
+ ...config . experimental ,
1782
+ } ,
1783
1783
future :
1784
1784
config . future === 'warn'
1785
1785
? ( {
You can’t perform that action at this time.
0 commit comments