Skip to content

Commit c8d9d97

Browse files
fix: inner graph for classes
1 parent 3022995 commit c8d9d97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/optimize/InnerGraphPlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ class InnerGraphPlugin {
244244
) {
245245
InnerGraph.setTopLevelSymbol(parser.state, fn);
246246
onUsageSuper(expr);
247+
InnerGraph.setTopLevelSymbol(parser.state, undefined);
247248
}
248249
}
249250
}

0 commit comments

Comments
 (0)