DEV Community

loading...

Discussion on: Migrating from CommonJS to ESM

Collapse
yoursunny profile image
Junxiao Shi

ESM in Node is becoming easier since Node 14.2.
In NDNts, I've been ignoring "allow my packages to be imported in CommonJS" scenario. Nevertheless, it is still very difficult to make all these happy: Node, TypeScript, ts-jest, webpack, Parcel.