You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see a lot of packages, that migrate to ESM without providing any backward compatibility, rendering those packages almost impossible to use in a real dev environment.
If you are not sure, that still supporting CJS is a good thing, take a look at package statistics:
It's 17x more downloads for CJS version than ESM one.
The text was updated successfully, but these errors were encountered:
Using this package in Node JS with any other packages written in CJS is hardly possible.
Would be cool to have both formats in one package.
It's as easy as adding to
package.json
:Source: https://antfu.me/posts/publish-esm-and-cjs
I see a lot of packages, that migrate to ESM without providing any backward compatibility, rendering those packages almost impossible to use in a real dev environment.
If you are not sure, that still supporting CJS is a good thing, take a look at package statistics:
It's 17x more downloads for CJS version than ESM one.
The text was updated successfully, but these errors were encountered: