File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/compiler-sfc/src Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,6 @@ export function compileScript(
170
170
const scriptLang = script && script . lang
171
171
const scriptSetupLang = scriptSetup && scriptSetup . lang
172
172
173
- let refBindings : string [ ] | undefined
174
-
175
173
if ( ! scriptSetup ) {
176
174
if ( ! script ) {
177
175
throw new Error ( `[@vue/compiler-sfc] SFC contains no <script> tags.` )
@@ -740,12 +738,6 @@ export function compileScript(
740
738
for ( const key in setupBindings ) {
741
739
ctx . bindingMetadata [ key ] = setupBindings [ key ]
742
740
}
743
- // known ref bindings
744
- if ( refBindings ) {
745
- for ( const key of refBindings ) {
746
- ctx . bindingMetadata [ key ] = BindingTypes . SETUP_REF
747
- }
748
- }
749
741
750
742
// 7. inject `useCssVars` calls
751
743
if (
You can’t perform that action at this time.
0 commit comments