JoLoblog.jolo.dev·Jul 12, 2024Oh CommonJS! Why are you mESMing with me?!It was a normal patching day. I patched and upgraded my npm dependencies without making code changes, and suddenly, some of my unit tests failed. Wtf! My tests failed because Jest encountered an unexpected token; they failed because Jest cannot han...Discuss·28 readsesm
Sofiane BOUMEDINEblog.sofiane-boumedine.com·May 3, 2024ESM vs. CommonJS: La révolution Node.js avec Node 22Faisons la paix entre ESM et CommonJS avec Node.js 22 Salut les développeurs ! Aujourd'hui, on va plonger dans un débat qui anime la communauté Node.js depuis un moment : la différence entre ESM (ECMAScript Modules) et CommonJS. Et devinez quoi ? Nod...Discuss·30 readsnode22
Kevin BlancoforAppsmithappsmith.hashnode.dev·Oct 13, 2023🎉 Appsmith Now Supports ESM Javascript Libraries 🔥 But what are CJS, AMD, UMD, and ESM in Javascript?In the beginning, JavaScript was a wild and untamed language, devoid of any built-in modularity. Thankfully, the brilliant minds of the developer community recognized this limitation and embarked on a quest to bring modularity to JavaScript. This jo...Discuss·39 readsJavaScript
Okiki Ojoblog.okikio.dev·Jul 8, 2023Mastering the Art of ESM and CJS Package HandlingGreetings, fellow devs and bundlejs aficionados! 🚀 I was closing out some long lived issues over on bundlejs, when issue #50 reminded me of the ongoing debate about how bundlejs should handle the ESM and CJS packages. Lightbulbs flickered, coffee wa...Discuss·1 like·897 readsbundlejsTypeScript