4 ms·
Would you prefer to see ESM or neither?
by LukeB42 7mo ago
Would you prefer to see ESM or neither?
- throwup238 7mo agoES6 modules. Tooling can take care of generating UMD from that as a single source of truth and since it’s the language standard for years now it’s the best supported format in the ecosystem. At this point UMD/CommonJS/etc are historical artifacts only useful to legacy codebases and by now they’ve all adopted whatever ESM->legacy compilation pipeline they need.
- LukeB42 7mo agoThanks for this. I stopped writing JS for awhile just as ES6 was coming around the corner / coming into use. This will be in 0.0.2.