@@ -6,7 +6,7 @@ export const ssrMode = ref(false)
6
6
export const compilerOptions : CompilerOptions = reactive ( {
7
7
mode : 'module' ,
8
8
prefixIdentifiers : false ,
9
- optimizeBindings : false ,
9
+ optimizeImports : false ,
10
10
hoistStatic : false ,
11
11
cacheHandlers : false ,
12
12
scopeId : null
@@ -144,18 +144,18 @@ const App = {
144
144
h ( 'label' , { for : 'scope-id' } , 'scopeId' )
145
145
] ) ,
146
146
147
- // toggle optimizeBindings
147
+ // toggle optimizeImports
148
148
h ( 'li' , [
149
149
h ( 'input' , {
150
150
type : 'checkbox' ,
151
- id : 'optimize-bindings ' ,
151
+ id : 'optimize-imports ' ,
152
152
disabled : ! isModule || isSSR ,
153
- checked : isModule && ! isSSR && compilerOptions . optimizeBindings ,
153
+ checked : isModule && ! isSSR && compilerOptions . optimizeImports ,
154
154
onChange ( e : Event ) {
155
- compilerOptions . optimizeBindings = ( e . target as HTMLInputElement ) . checked
155
+ compilerOptions . optimizeImports = ( e . target as HTMLInputElement ) . checked
156
156
}
157
157
} ) ,
158
- h ( 'label' , { for : 'optimize-bindings ' } , 'optimizeBindings ' )
158
+ h ( 'label' , { for : 'optimize-imports ' } , 'optimizeImports ' )
159
159
] )
160
160
] )
161
161
] )
0 commit comments