diff --git a/Makefile b/Makefile index 2f6161d299..d16892dd1d 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,8 @@ build: node bin/cache-templates node $(BROWSERIFY_CMD) -e lib/6to5/polyfill.js >dist/polyfill.js + node $(UGLIFY_CMD) dist/polyfill.js >dist/polyfill.min.js + node $(BROWSERIFY_CMD) lib/6to5/browser.js -s to5 >dist/6to5.js node $(UGLIFY_CMD) dist/6to5.js >dist/6to5.min.js @@ -54,8 +56,8 @@ publish: make test make build - cp dist/6to5.js browser.js - cp dist/polyfill.js polyfill.js + cp dist/6to5.min.js browser.js + cp dist/polyfill.min.js polyfill.js node bin/6to5-runtime >runtime.js