Closed snuggs closed 7 years ago
@brandondees @tmornini @robcole @RobertChristopher @scottmacdowell @mrbernnz @btakita @janz93 @misscs Shit is starting to get weird. Come to find out we were minifying but not uglifying our bundle. @brandondees remember when you thought it was strange the ES6 was larger? That's why. The .js
(application/javascript) IS uglified. .es
(application/ecmascript) was being minified but not uglified.
After using https://github.com/mishoo/UglifyJS2/tree/harmony
Not only did we fix the speed problem with google-closure-compiler-js
the entire lib bundle is now
Brotli Compressed . @tmornini even the gzip
compressed is less than 1 ethernet packet now. Might even have room to bundle the polyfill @brandondees :trollface:
room to grow!
Fixes #33
https://github.com/mishoo/UglifyJS2/tree/harmony