idiomorph
idiomorph copied to clipboard
Can we remove the CommonJS distribution target?
Now that Node.js supports ESM, can we remove the CommonJS distribution target and only release for ESM and
ESM support was first stabilized in Node.js 12.0.0 (April 23, 2019), and became a first-class recommendation in Node.js 16.0.0 (April 20, 2021), both of which are now EOL. So I think its safe to proceed with this.
We'll start by removing support for CJS in the next v0.8.0 release, and see if anyone complains.