Clean up babylon bundle to allow it to be re-bundled - fixes T6930

This commit is contained in:
Logan Smyth 2016-02-12 22:42:05 -08:00
parent e0a7271ace
commit 9e383b09b9

View File

@ -1,2 +1,8 @@
require("./_util").updateMain("index.js"); require("./_util").updateMain("index.js");
require("child_process").execSync(__dirname + "/../../../node_modules/.bin/browserify -s babylon -e " + __dirname + "/../lib/index.js -o " + __dirname + "/../index.js", { encoding: "utf8" }); require("child_process").execSync(
__dirname + "/../../../node_modules/.bin/browserify " +
"--standalone babylon " +
"--entry " + __dirname + "/../lib/index.js " +
"--plugin bundle-collapser/plugin " +
"--plugin derequire/plugin " +
"--outfile " + __dirname + "/../index.js", { encoding: "utf8" });