Skip to content

Commit 3acab7c

Browse files
committed
fixed bug where duplicates are not detected
1 parent 6cd42e2 commit 3acab7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimize/MergeDuplicateChunksPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = MergeDuplicateChunksPlugin;
99
function getChunkIdentifier(chunk) {
1010
return chunk.modules.map(function(m) {
1111
return m.identifier();
12-
}).join(", ");
12+
}).sort().join(", ");
1313
}
1414

1515
MergeDuplicateChunksPlugin.prototype.apply = function(compiler) {

0 commit comments

Comments
 (0)