move runtime to dist/runtime
This commit is contained in:
parent
9844540bb0
commit
bac952e036
6
Makefile
6
Makefile
@ -48,6 +48,9 @@ build:
|
|||||||
node $(BROWSERIFY_CMD) lib/6to5/browser.js -s to5 >dist/6to5.js
|
node $(BROWSERIFY_CMD) lib/6to5/browser.js -s to5 >dist/6to5.js
|
||||||
node $(UGLIFY_CMD) dist/6to5.js >dist/6to5.min.js
|
node $(UGLIFY_CMD) dist/6to5.js >dist/6to5.min.js
|
||||||
|
|
||||||
|
node bin/6to5-runtime >dist/runtime.js
|
||||||
|
node $(UGLIFY_CMD) dist/runtime.js >dist/runtime.min.js
|
||||||
|
|
||||||
rm -rf templates.json
|
rm -rf templates.json
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
@ -58,8 +61,7 @@ publish:
|
|||||||
make build
|
make build
|
||||||
cp dist/6to5.min.js browser.js
|
cp dist/6to5.min.js browser.js
|
||||||
cp dist/polyfill.min.js polyfill.js
|
cp dist/polyfill.min.js polyfill.js
|
||||||
|
cp dist/runtime.min.js runtime.js
|
||||||
node bin/6to5-runtime >runtime.js
|
|
||||||
|
|
||||||
node bin/cache-templates
|
node bin/cache-templates
|
||||||
test -f templates.json
|
test -f templates.json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user