Hacker News new | ask | show | jobs
by z3t4 2666 days ago
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.
1 comments

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.