Explorar o código

fix: remove unnecessary helper

三咲智子 Kevin Deng hai 1 ano
pai
achega
124e47b43b
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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) {
     ast.helpers.add(PUSH_SCOPE_ID)
     ast.helpers.add(POP_SCOPE_ID)
-    ast.helpers.add(HOIST_LAZY)
   }
 
   // generate import statements for helpers