diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 5305709f..af0c5952 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -45,7 +45,7 @@ export function compileScriptSetup( } const bindings: BindingMetadata = {} - const imports: Record = {} + const imports: Record = {} const setupScopeVars: Record = {} const setupExports: Record = {} let exportAllIndex = 0 @@ -59,13 +59,12 @@ export function compileScriptSetup( const scriptEndOffset = script && script.loc.end.offset // parse and transform