We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f12fb7 commit 2921685Copy full SHA for 2921685
packages/compiler-sfc/src/compileScript.ts
@@ -170,8 +170,6 @@ export function compileScript(
170
const scriptLang = script && script.lang
171
const scriptSetupLang = scriptSetup && scriptSetup.lang
172
173
- let refBindings: string[] | undefined
174
-
175
if (!scriptSetup) {
176
if (!script) {
177
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
}
743
- // known ref bindings
744
- if (refBindings) {
745
- for (const key of refBindings) {
746
- ctx.bindingMetadata[key] = BindingTypes.SETUP_REF
747
- }
748
749
750
// 7. inject `useCssVars` calls
751
if (
0 commit comments