CommonJS has been the go-to module system for Node.js for more than a decade, but the ecosystem is slowly moving to ECMAScript Modules.
CommonJS and ESM have different features, and they are not fully compatible with each other: should existing libraries migrate to ESM? Should they keep using ESM forever? Are JavaScript tools ready for native ESM?
Babel is one of the most used packages on npm, and we have been slowly working to move away from CommonJS. What obstacles have we found? How did we overcome them? What have we learned in the process? How do we ensure a smooth transition for our users?a

Comments

Comments are closed.

Alessandro at 20:15 on 14 Apr 2023

Nicolò dev skills are great. Thanks very much

Francesco at 21:14 on 14 Apr 2023

Great talk!

very good and interesting

Carl Vuorinen at 17:45 on 21 Apr 2023

Interesting talk about the journey through refactoring babel. Nice to get some insight into the kind of issues you face as a maintainer of such a widely used open source library.