@UglifyJS
Joined August 2011
Traceur and uglify-js support added to astexplorer.net/ by @RReverser. Autofocus feature for faster inspect. nitter.cf/fkling42/status/668835…
2
13
23
@eaiocom Don't be shy, file a bug report! ツ
#JavaScript best practice baseline: your code must still work after being piped through `uglifyjs -mc unsafe`.
1
2
Wondering if it's a good idea to replace Math.floor(x / 2) with x >> 2 in @UglifyJS (perhaps under --unsafe).
2
1
Seems UglifyJS is 2-3x slower with Node 0.12. Anyone else noticed, perhaps in other projects? github.com/mishoo/UglifyJS2/…
Thanks @_richardJ—now full-right contributor—for his heroic efforts in cleaning up issues. We should have a new release soon.
1
well, I meant this: github.com/mishoo/UglifyJS2/… (somewhat related)
1
1
Shouldn't HTTP server vendors default to UTF-8 already? github.com/mishoo/UglifyJS2/… (any case guys, this is fixed, please update UglifyJS!)
1
1
New version of with (npmjs.org/package/with) is approximately 10x faster thanks to @UglifyJS replacing @esprima
2
3
2
@arminrosu A comparison where you use -c in V1 is not exactly fair, since in V2 we don't have this option (it's bad for gzip).
@arminrosu Ah, heh, you don't need to pass `-c` to V1. Again, please RTFM. ;-)
@arminrosu I'm a bit surprised indeed by the big difference before gzip; but after gzip, V2 is consistently better. Will investigate.
@arminrosu @jquery Try passing -m to UglifyJS2. So that's -c -m if you want full compression/mangling. Well, RTFM might help too. ;-)
Published UglifyJS 2.3.0 on NPM. Long time since the last version. Short summary: gist.github.com/mishoo/27cbf… — thanks to all contributors!
An increasing number of reported issues are fixed with --screw-ie. Should we turn that ON by default? I say yeah, fuck IE < 9.
2
6
2
People, what do you think about github.com/mishoo/UglifyJS2/… ? Should we disable `unsafe` by default?
1
github.com/mishoo/UglifyJS2/… — Seriously?? Next on the list could be uglification of assembly language, or better yet, machine code.
Code that passes JSLint / JSHint achieves best minification ratios. ;-)