Browse Source

fix: remove unnecessary helper

三咲智子 Kevin Deng 2 years ago
parent
commit
124e47b43b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/compiler-core/src/codegen.ts

+ 0 - 1
packages/compiler-core/src/codegen.ts

@@ -478,7 +478,6 @@ function genModulePreamble(
   if (genScopeId && ast.hoists.length) {
   if (genScopeId && ast.hoists.length) {
     ast.helpers.add(PUSH_SCOPE_ID)
     ast.helpers.add(PUSH_SCOPE_ID)
     ast.helpers.add(POP_SCOPE_ID)
     ast.helpers.add(POP_SCOPE_ID)
-    ast.helpers.add(HOIST_LAZY)
   }
   }
 
 
   // generate import statements for helpers
   // generate import statements for helpers