3 ms·
> CommonJS might also bite you big time In which ways? I’ve always found CommonJS to be extremely unsurprising. What will bite you is the tooling built to inte
by ricardobeat 5y ago
> CommonJS might also bite you big time
In which ways? I’ve always found CommonJS to be extremely unsurprising. What will bite you is the tooling built to interoperate with ESM.
- franciscop 5y agoIn the way that some libraries have been updated to be ESM-only, so if you follow a tutorial to-the-letter and then try to require() that library it'll fail with a cryptic error message (at least for new users).