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 @@ -248,18 +248,18 @@ export const plugin = createUnplugin<Options | undefined, false>(
248
248
dedupe : config . build ?. ssr ? [ ] : [ 'vue' ] ,
249
249
} ,
250
250
define : {
251
- __VUE_OPTIONS_API__ :
252
- ( options . value . features . optionsAPI ||
253
- config . define ?. __VUE_OPTIONS_API__ ) ??
254
- true ,
255
- __VUE_PROD_DEVTOOLS__ :
256
- ( options . value . features . prodDevtools ||
257
- config . define ?. __VUE_PROD_DEVTOOLS__ ) ??
258
- false ,
259
- __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ :
260
- ( options . value . features . prodHydrationMismatchDetails ||
261
- config . define ?. __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ ) ??
262
- false ,
251
+ __VUE_OPTIONS_API__ : ! ! (
252
+ ( options . value . features ? .optionsAPI ?? true ) ||
253
+ config . define ?. __VUE_OPTIONS_API__
254
+ ) ,
255
+ __VUE_PROD_DEVTOOLS__ : ! ! (
256
+ options . value . features ? .prodDevtools ||
257
+ config . define ?. __VUE_PROD_DEVTOOLS__
258
+ ) ,
259
+ __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ : ! ! (
260
+ options . value . features ? .prodHydrationMismatchDetails ||
261
+ config . define ?. __VUE_PROD_HYDRATION_MISMATCH_DETAILS__
262
+ ) ,
263
263
} ,
264
264
ssr : {
265
265
// @ts -ignore -- config.legacy.buildSsrCjsExternalHeuristics will be removed in Vite 5
You can’t perform that action at this time.
0 commit comments