Migrating Babel from CommonJS to ESM
Channel: Igalia
Date: 2024-03-01

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?


(c) NodeConf EU 2023
November 6-8, 2023
The Lyrath Estate, Kilkenny, Ireland
https://www.nodeconf.eu/about-nodeconf-2023