2 ms·
> adding a second one for CJS Nobody is arguing for that. Once you ship ESM, you can continue shipping ESM. In Node 22 you can even require() ES modules (with
by sureIy 2y ago
> adding a second one for CJS
Nobody is arguing for that. Once you ship ESM, you can continue shipping ESM.
In Node 22 you can even require() ES modules (with an experimental flag, at the moment)
- nfriedly 2y ago> > adding a second one for CJS > Nobody is arguing for that. Once you ship ESM, you can continue shipping ESM. I'm not sure I follow you there. I did continue shipping ESM. > In Node 22 you can even require() ES modules (with an experimental flag, at the moment) Oh, I didn't know about that, cool! Once it becomes un-flagged I might consider dropping CJS.