It's 2024; #JavaScript #libraries should be shipping #ESModules *only*
Is it wrong if I'm kind of enjoying the drama about #ljharb?
Burn tc39 down! Make the web anew!
The only standard is death comes to everything!
> enough libraries use ES Modules that for many projects you need to either use ES Modules, or figure out how to interoperate ES Modules with your CommonJS code. At the same time, enough code still uses CommonJS that you often need to figure out how to include that legacy code in your otherwise-ES Module project.
https://borischerny.com/javascript,/typescript/2024/06/19/ES-Modules-Are-A-Mess.html
> Support for require()ing ESM graphs is now exposed by default in Node.js 22