Skip to content

Commit 8d1d569

Browse files
committed
Fix remove empty
1 parent 9a1eca5 commit 8d1d569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/optimize/RemoveEmptyChunksPlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class RemoveEmptyChunksPlugin {
1515
!chunk.hasRuntime() &&
1616
!chunk.hasEntryModule()
1717
) {
18+
chunk.remove("empty");
1819
chunks.splice(i, 1);
1920
}
2021
}

0 commit comments

Comments
 (0)