Hacker News new | ask | show | jobs
by tracker1 3267 days ago
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.
2 comments

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 :-\
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.