Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in post build step to minify code using UglifyJS #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

domtronn
Copy link
Contributor

@domtronn domtronn commented Jun 9, 2017

I tried to use a couple of things directly with babel,

So added the NPM script using the UglifyJS2 CLI tool which saves ~20% of the size! ✌

I tried to use a couple of things integrated directly with babel,

+ https:/babel/babili - Issue with es2015 preset babel/minify#556
+ https:/rreverser/babel-plugin-uglify - Just didn't work!

So, added in a script using the UglifyJS2 CLI tool which saves ~20% of
the size! ✌
@domtronn domtronn requested a review from jpstevens June 9, 2017 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant