Skip to content

Commit aa7885b

Browse files
committed
removed --optimize-occurrence-order
1 parent be9adc0 commit aa7885b

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

bin/config-optimist.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ module.exports = function(optimist) {
6565

6666
.boolean("optimize-minimize").describe("optimize-minimize")
6767

68-
.boolean("optimize-occurence-order").describe("optimize-occurence-order")
69-
7068
.boolean("optimize-dedupe").describe("optimize-dedupe")
7169

7270
.string("prefetch").describe("prefetch")

bin/convert-argv.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module.exports = function(optimist, argv, convertOptions) {
2323
}
2424
if(argv.p) {
2525
argv["optimize-minimize"] = true;
26-
argv["optimize-occurence-order"] = true;
2726
}
2827

2928
if(argv.config) {
@@ -356,12 +355,6 @@ module.exports = function(optimist, argv, convertOptions) {
356355
options.plugins.push(new UglifyJsPlugin());
357356
});
358357

359-
ifBooleanArg("optimize-occurence-order", function() {
360-
ensureArray(options, "plugins");
361-
var OccurenceOrderPlugin = require("../lib/optimize/OccurenceOrderPlugin");
362-
options.plugins.push(new OccurenceOrderPlugin());
363-
});
364-
365358
ifBooleanArg("optimize-dedupe", function() {
366359
ensureArray(options, "plugins");
367360
var DedupePlugin = require("../lib/optimize/DedupePlugin");

0 commit comments

Comments
 (0)