Преглед изворни кода

fix: remove unnecessary helper

三咲智子 Kevin Deng пре 1 година
родитељ
комит
124e47b43b
1 измењених фајлова са 0 додато и 1 уклоњено
  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