2 comments

[ 2.8 ms ] story [ 17.0 ms ] thread
Yes, they are. And a pain in the ass when a dev can't get the package syntax right to import cjs when appropriate, but claim to support both targets. I literally patch hcaptcha locally to be able to build with it.
ES modules are cancer. I'm fine w the syntax — in fact, I love the syntax.

But if you use "module: true" in your package.json, you are splitting the npm ecosystem into two groups, and it's not moving us forward.