]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix: remove unnecessary helper perf/hoist-lazy 10959/head
author三咲智子 Kevin Deng <sxzz@sxzz.moe>
Fri, 17 May 2024 12:25:25 +0000 (20:25 +0800)
committer三咲智子 Kevin Deng <sxzz@sxzz.moe>
Fri, 17 May 2024 12:25:25 +0000 (20:25 +0800)
packages/compiler-core/src/codegen.ts

index b62367020f7090c3b4c19c49ab73f7178cd27cc8..ef94fb16a4ef6f1a112bc322e484ebf99390bc19 100644 (file)
@@ -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