We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ca01e9 commit b0a3b2aCopy full SHA for b0a3b2a
1 file changed
lib/optimize/DedupePlugin.js
@@ -136,6 +136,7 @@ DedupePlugin.prototype.apply = function(compiler) {
136
hash.update("DedupModuleTemplate");
137
});
138
compilation.mainTemplate.plugin("add-module", function(source, chunk, hash, varModuleId, varModule) {
139
+ // TODO test all nested chunks too
140
if(!chunk._DedupePlugin_hasDeduplicatedModules) {
141
return source;
142
}
0 commit comments