include polyfill
This commit is contained in:
4
Makefile
4
Makefile
@@ -42,6 +42,7 @@ build:
|
||||
|
||||
node bin/cache-templates
|
||||
|
||||
node $(BROWSERIFY_CMD) -e lib/6to5/polyfill.js >dist/polyfill.js
|
||||
node $(BROWSERIFY_CMD) lib/6to5/browser.js -s to5 >dist/6to5.js
|
||||
node $(UGLIFY_CMD) dist/6to5.js >dist/6to5.min.js
|
||||
|
||||
@@ -54,6 +55,7 @@ publish:
|
||||
|
||||
make build
|
||||
cp dist/6to5.js browser.js
|
||||
cp dist/polyfill.js polyfill.js
|
||||
|
||||
node bin/6to5-runtime >runtime.js
|
||||
|
||||
@@ -66,4 +68,4 @@ publish:
|
||||
|
||||
git push --follow-tags
|
||||
|
||||
rm -rf templates.json browser.js runtime.js
|
||||
rm -rf templates.json browser.js runtime.js polyfill.js
|
||||
|
||||
Reference in New Issue
Block a user