File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -266,18 +266,18 @@ export const plugin: UnpluginInstance<Options | undefined, false> =
266
266
dedupe : config . build ?. ssr ? [ ] : [ 'vue' ] ,
267
267
} ,
268
268
define : {
269
- __VUE_OPTIONS_API__ : ! ! (
270
- ( options . value . features ?. optionsAPI ?? true ) ||
271
- config . define ?. __VUE_OPTIONS_API__
272
- ) ,
273
- __VUE_PROD_DEVTOOLS__ : ! ! (
274
- options . value . features ?. prodDevtools ||
275
- config . define ?. __VUE_PROD_DEVTOOLS__
276
- ) ,
277
- __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ : ! ! (
278
- options . value . features ?. prodHydrationMismatchDetails ||
279
- config . define ?. __VUE_PROD_HYDRATION_MISMATCH_DETAILS__
280
- ) ,
269
+ __VUE_OPTIONS_API__ :
270
+ options . value . features ?. optionsAPI ??
271
+ config . define ?. __VUE_OPTIONS_API__ ??
272
+ true ,
273
+ __VUE_PROD_DEVTOOLS__ :
274
+ ( options . value . features ?. prodDevtools ||
275
+ config . define ?. __VUE_PROD_DEVTOOLS__ ) ??
276
+ false ,
277
+ __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ :
278
+ ( options . value . features ?. prodHydrationMismatchDetails ||
279
+ config . define ?. __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ ) ??
280
+ false ,
281
281
} ,
282
282
ssr : {
283
283
// @ts -ignore -- config.legacy.buildSsrCjsExternalHeuristics will be removed in Vite 5
You can’t perform that action at this time.
0 commit comments