remove minify binary

This commit is contained in:
Sebastian McKenzie 2015-02-19 10:47:08 +11:00
parent b1238a1746
commit 8e06db8f7d
4 changed files with 7 additions and 24 deletions

View File

@ -1,7 +0,0 @@
#!/usr/bin/env node
var opts = require("./babel").opts;
opts.optional = (opts.optional || []).concat("minification");
opts.format = {
compact: true
};

View File

@ -116,17 +116,12 @@ exports.opts = {
loose: commander.loose
};
setTimeout(function () {
// this is just a hack to give `babel-minify` and other files including this
// time to modify `exports.opts`
var fn;
var fn;
if (commander.outDir) {
fn = require("./dir");
} else {
fn = require("./file");
}
if (commander.outDir) {
fn = require("./dir");
} else {
fn = require("./file");
}
fn(commander, filenames, exports.opts);
}, 0);
fn(commander, filenames, exports.opts);

View File

@ -1,3 +0,0 @@
#!/usr/bin/env node
console.error("`6to5-minify` has been renamed to `babel-minify`");
require("../babel-minify");

View File

@ -12,11 +12,9 @@
},
"bin": {
"6to5": "./bin/deprecated/6to5",
"6to5-minify": "./bin/deprecated/6to5-minify",
"6to5-node": "./bin/deprecated/6to5-node",
"6to5-runtime": "./bin/deprecated/6to5-runtime",
"babel": "./bin/babel/index.js",
"babel-minify": "./bin/babel-minify",
"babel-node": "./bin/babel-node",
"babel-external-helpers": "./bin/babel-external-helpers"
},