Skip to content

Commit aba6dbf

Browse files
authored
Merge pull request webpack#7888 from webpack/bugfix/issue-7887
fixes webpack#7887
2 parents 34ff480 + 1345ab2 commit aba6dbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/optimize/ConcatenatedModule.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,7 @@ class HarmonyExportImportedSpecifierDependencyConcatenatedTemplate {
14321432
-1,
14331433
`/* unused concated harmony import ${dep.name} */\n`
14341434
);
1435+
return;
14351436
}
14361437
let finalName;
14371438
const strictFlag = dep.originModule.buildMeta.strictHarmonyModule

0 commit comments

Comments
 (0)