-
Notifications
You must be signed in to change notification settings - Fork 11
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
UglifyJS #17
Comments
Thanks for the suggestion! However, in |
BTW did you run any tests to see what percentage compression uglify gives? GopherJS has it's own minify routine which probably isn't as good as uglify but I wouldn't think the difference is that great... |
I remember doing a comparison 5-6 months ago and uglification created serious improvements to size (non-negligible). I think a docker based solution is the way to go if you want to run uglify as easily as possible. |
Adding this to the jsgo compiler would be a huge undertaking. Right now everything runs inside a single Go process - that keeps the architecture very simple. Adding docker as a dependency would make things much more complex. Also, I'm working on other projects now, so won't have any more time for new jsgo features. |
It would be great if you run uglify/ugllify2 afterwards to further minimize file size.
The text was updated successfully, but these errors were encountered: