Skip to content

Commit 525f8b9

Browse files
committed
don't allow dedupe plugin by option (because thats broken)
1 parent 5c3f8cc commit 525f8b9

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎lib/WebpackOptionsApply.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,6 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
255255
compiler.apply(new UglifyJsPlugin(options.optimize.minimize));
256256
}
257257

258-
if(options.optimize.dedupe === true) {
259-
compiler.apply(new MovedToPluginWarningPlugin("optimize.dedupe", "optimize.DedupePlugin"));
260-
var DedupePlugin = require("./optimize/DedupePlugin");
261-
compiler.apply(new DedupePlugin());
262-
}
263-
264258
if(options.cache === undefined ? options.watch : options.cache) {
265259
var CachePlugin = require("./CachePlugin");
266260
compiler.apply(new CachePlugin(typeof options.cache == "object" ? options.cache : null));

0 commit comments

Comments
 (0)