Skip to content

Commit 91cbb4c

Browse files
committed
removed DedupePlugin
it's no longer needed for npm3 and causes many issues
1 parent ba93f84 commit 91cbb4c

File tree

22 files changed

+6
-680
lines changed

22 files changed

+6
-680
lines changed

bin/config-optimist.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ module.exports = function(optimist) {
3737
.describe("optimize-max-chunks", "Try to keep the chunk count below a limit")
3838
.describe("optimize-min-chunk-size", "Try to keep the chunk size above a limit")
3939
.boolean("optimize-minimize").describe("optimize-minimize", "Minimize javascript and switches loaders to minimizing")
40-
.boolean("optimize-dedupe").describe("optimize-dedupe", "Optimize duplicate module sources in the bundle")
4140
.string("prefetch").describe("prefetch", "Prefetch this request")
4241
.string("provide").describe("provide", "Provide these modules as free vars in all modules")
4342
.boolean("labeled-modules").describe("labeled-modules", "Enables labeled modules")

bin/config-yargs.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ module.exports = function(yargs) {
219219
describe: "Minimize javascript and switches loaders to minimizing",
220220
group: OPTIMIZE_GROUP
221221
},
222-
"optimize-dedupe": {
223-
type: "boolean",
224-
describe: "Optimize duplicate module sources in the bundle",
225-
group: OPTIMIZE_GROUP
226-
},
227222
"prefetch": {
228223
type: "string",
229224
describe: "Prefetch this request (Example: --prefetch ./file.js)",

bin/convert-argv.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -457,12 +457,6 @@ module.exports = function(yargs, argv, convertOptions) {
457457
}));
458458
});
459459

460-
ifBooleanArg("optimize-dedupe", function() {
461-
ensureArray(options, "plugins");
462-
var DedupePlugin = require("../lib/optimize/DedupePlugin");
463-
options.plugins.push(new DedupePlugin());
464-
});
465-
466460
ifArg("prefetch", function(request) {
467461
ensureArray(options, "plugins");
468462
var PrefetchPlugin = require("../lib/PrefetchPlugin");

examples/dedupe/README.md

Lines changed: 0 additions & 319 deletions
This file was deleted.

examples/dedupe/a/index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/dedupe/a/x.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/dedupe/a/y.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/dedupe/b/index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/dedupe/b/x.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/dedupe/b/y.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)