standard-things / esm

Tomorrow's ECMAScript modules today!
Other
5.26k stars 147 forks source link

README: mention "load third-party esm from commonjs" usecase #899

Closed Artoria2e5 closed 3 years ago

Artoria2e5 commented 3 years ago

Since node 14 became a thing, some new packages have gone esm-only without commonjs compatibility. The esm package is capable of working as such a bridge even when used from the package-user side. I feel it's a good idea to document this.

Artoria2e5 commented 3 years ago

nevermind -- turns out the package was set up incorrectly. I guess this should be a feature request instead.