Why My Package Broke in a CommonJS App: Field Notes on require(esm), the exports Map, and the Dual Package Hazard 0e2a8d
Headline: Node.js 22.12 and later can require() a synchronous ES module, which removes the original reason most libraries shipped two builds, but it does not remove the dual package hazard and it does
engahmed.hashnode.dev9 min read