The Node cjs to esm transition is a mess


The Node cjs to esm transition is a mess.

But Bun can handle both cjs and esm *in the same file*!

This works?! Awesome. 🤯

More details: https://bun.sh/blog/bun-v1.0#esm-commonjs-compatibility

View original on X