Przeglądaj źródła

fix: remove unnecessary helper

三咲智子 Kevin Deng 1 rok temu
rodzic
commit
124e47b43b
1 zmienionych plików z 0 dodań i 1 usunięć
  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