- 75% of NPM is CommonJS
- It’s better for lazy loading / cold start outside the browser than `await import(…)`
I think the ESM slowness can eventually be compensated for but it will need spec changes. Possibly the defer import proposal.
But yeah, CommonJS is basically never going away.
- 75% of NPM is CommonJS
- It’s better for lazy loading / cold start outside the browser than `await import(…)`