Skip to content

Commit 76b47d7

Browse files
authored
more
1 parent a5a5b8d commit 76b47d7

File tree

1 file changed

+4
-0
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client

1 file changed

+4
-0
lines changed

packages/svelte/src/compiler/phases/3-transform/client/utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ export function can_be_parallelized(expression, scope, analysis) {
6565
NewExpression(node, { stop }) {
6666
should_stop = true;
6767
stop();
68+
},
69+
StaticBlock(node, { stop }) {
70+
has_closures = true;
71+
stop();
6872
}
6973
});
7074
if (has_closures || should_stop) {

0 commit comments

Comments
 (0)