move polyfill dist to babel-polyfill package
This commit is contained in:
@@ -9,9 +9,6 @@ mkdir -p dist
|
||||
|
||||
node scripts/cache-templates
|
||||
|
||||
#node $BROWSERIFY_CMD -e lib/polyfill.js >dist/polyfill.js
|
||||
#node $UGLIFY_CMD dist/polyfill.js >dist/polyfill.min.js
|
||||
|
||||
# Add a Unicode BOM so browsers will interpret the file as UTF-8
|
||||
node -p '"\uFEFF"' > dist/browser.js
|
||||
node $BROWSERIFY_CMD lib/api/browser.js -s babel $BROWSERIFY_IGNORE >>dist/browser.js
|
||||
|
||||
@@ -4,7 +4,5 @@ function rmRelative(loc) {
|
||||
|
||||
rmRelative("browser.js");
|
||||
rmRelative("browser.min.js");
|
||||
rmRelative("browser-polyfill.js");
|
||||
rmRelative("browser-polyfill.min.js");
|
||||
rmRelative("external-helpers.js");
|
||||
rmRelative("external-helpers.min.js");
|
||||
|
||||
@@ -4,8 +4,6 @@ function relative(loc) {
|
||||
|
||||
cp(relative("dist/browser.js"), relative("browser.js"));
|
||||
cp(relative("dist/browser.min.js"), relative("browser.min.js"));
|
||||
cp(relative("dist/polyfill.js"), relative("browser-polyfill.js"));
|
||||
cp(relative("dist/polyfill.min.js"), relative("browser-polyfill.min.js"));
|
||||
cp(relative("dist/external-helpers.js"), relative("external-helpers.js"));
|
||||
cp(relative("dist/external-helpers.min.js"), relative("external-helpers.min.js"));
|
||||
require("./cache-templates");
|
||||
|
||||
Reference in New Issue
Block a user