Explorar el Código

fix: remove unnecessary helper

三咲智子 Kevin Deng hace 1 año
padre
commit
124e47b43b
Se han modificado 1 ficheros con 0 adiciones y 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