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");