We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af90de8 commit 114abeeCopy full SHA for 114abee
lib/optimize/EnsureChunkConditionsPlugin.js
@@ -13,7 +13,7 @@ class EnsureChunkConditionsPlugin {
13
let changed = false;
14
chunks.forEach((chunk) => {
15
for(const module of chunk.modulesIterable) {
16
- if(!module.chunkCondition) return;
+ if(!module.chunkCondition) continue;
17
if(!module.chunkCondition(chunk)) {
18
let usedChunks = triesMap.get(module);
19
if(!usedChunks) triesMap.set(module, usedChunks = new Set());
0 commit comments