Ask HN: Is it time to start publishing ESM for JavaScript Modules?
https://news.ycombinator.com/item?id=20185056I've been thinking of refactoring some of my own modules, many are written with ESM, but published as transpiled to CommonJS/Node. I'm not considering a shift to directly publishing as .mjs, which may mean flags, or other bundling or `-r esm` etc.
Mainly because I think it's time that modules start shifting over. My hope is that sooner than later, we'll start seeing more frameworks that better leverage HTTP2+push with ESM.