DEV Community

Discussion on: 3 JavaScript features that bloat your ES5 bundle

Collapse
 
alekseiberezkin profile image
Aleksei Berezkin

It's completely true for applications. I agree that es5 bundle, if exist, must be the separate, and people using recent browsers must not download what they don't need.

However, it's different for libs which provide web runtime — they are still distributed as es5 or even es3 builds. So if you are authoring such a lib you have to keep that in mind and inspect your builds.