antoine-coulon / skott

All-in-one devtool to automatically analyze, search and visualize project modules and dependencies from JavaScript, TypeScript (JSX/TSX) and Node.js (ES6, CommonJS)
MIT License
669 stars 25 forks source link

Dual publish ESM/CJS #76

Closed antoine-coulon closed 1 year ago

antoine-coulon commented 1 year ago

skott is only published as ESM as of now.

Until now people have been mostly using skott through the CLI so CJS/ESM was not a thing but for the API it would be more convenient to have a dual publish.

Even though I usually advocate the use of ESM-only packages, CJS is still a thing and smooth transitions should still be possible for everyone.

antoine-coulon commented 1 year ago

Closing, reason explained in #75