Hacker News new | ask | show | jobs
by yeskia 2664 days ago
What do you dislike about ESM in comparison?
1 comments

ESM had no implementation, and there where already a unofficial standard. Why did ESM land in ES2015 ? Three years later it still got issues and implementation is experimental at best.
They are supported by browsers for about two years now: https://jakearchibald.com/2017/es-modules-in-browsers/
But why is nobody using that?

Specifically, I would think 99% if stuff being shipped today is bundled with tools like webpack.

Because it lacks support for bare specifiers and package lookup. There’s also no dead code elimination or code splitting.