Re:ECMAScript 2017 Language Specification
by tracker1 on Tuesday July 11, 2017 @06:04PM
(#14748479)
Most modern projects should probably use Babel and a bundler like Webpack for web targets. You may even want to separate legacy and modern browsers into separate targets so the 80-90% of users on evergreen browsers get a smaller download.
[ Parent
| on HN ]
Yea, we probably should. Too many feature requests, not enough time to let us clear out the technical debt and make our stack nice and modern :(
I'm only two years into my current project and already am feeling this bite :-\
Re:ECMAScript 2017 Language Specification
by tehlike on Wednesday July 12, 2017 @02:06AM
(#14750462)
how smaller do you think things could get?
Depends, are you including ES5 shims, not to mention the corejs stuff for ES6, regenerator etc if you're using async. It all adds up. Given it's not that much in terms of size, but it's a lot in bloat for browsers that don't need it.