include polyfill

This commit is contained in:
Sebastian McKenzie
2014-11-09 16:33:26 +11:00
parent a90da9908c
commit fbf0c25bbe
2 changed files with 8 additions and 15 deletions

View File

@@ -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