Skip to content

Commit 6f9692d

Browse files
committed
chore: cache isStaticNode result for missing branch
1 parent 869ae19 commit 6f9692d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/compiler-core/src/transforms/hoistStatic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export function isStaticNode(
112112
resultCache.set(node, true)
113113
return true
114114
} else {
115+
resultCache.set(node, false)
115116
return false
116117
}
117118
case NodeTypes.TEXT:

0 commit comments

Comments
 (0)