6.0.0
I'm extremely stupid and didn't commit as I go. To anyone reading this I'm extremely sorry. A lot of these changes are very broad and I plan on releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm afraid I couldn't wait. If you're ever in London I'll buy you a beer (or assorted beverage!) to make up for it, also I'll kiss your feet and give you a back massage, maybe.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "babel-polyfill",
|
||||
"version": "5.8.22",
|
||||
"version": "5.10.32",
|
||||
"description": "",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -9,6 +9,7 @@
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"core-js": "^1.0.1",
|
||||
"regenerator": "^0.8.36"
|
||||
"regenerator": "^0.8.36",
|
||||
"babel-runtime": "^5.10.32"
|
||||
}
|
||||
}
|
||||
}
|
||||
13
packages/babel-polyfill/scripts/build-dist.sh
Normal file → Executable file
13
packages/babel-polyfill/scripts/build-dist.sh
Normal file → Executable file
@@ -1,10 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
BROWSERIFY_CMD="../../node_modules/browserify/bin/cmd.js"
|
||||
UGLIFY_CMD="../../node_modules/uglify-js/bin/uglifyjs"
|
||||
|
||||
mkdir -p dist
|
||||
|
||||
node $BROWSERIFY_CMD -e lib/index.js >dist/polyfill.js
|
||||
node $UGLIFY_CMD dist/index.js >dist/polyfill.min.js
|
||||
node $BROWSERIFY_CMD lib/index.js \
|
||||
--insert-global-vars 'global' \
|
||||
--plugin bundle-collapser/plugin \
|
||||
--plugin derequire/plugin \
|
||||
>dist/polyfill.js
|
||||
node $UGLIFY_CMD dist/polyfill.js \
|
||||
--compress warnings=false \
|
||||
--mangle \
|
||||
>dist/polyfill.min.js
|
||||
|
||||
Reference in New Issue
Block a user