Axel Rauschmayer on Nostr: Important Node.js feature: --experimental-require-module It lets you require() ESM ...
Important Node.js feature: --experimental-require-module
It lets you require() ESM modules—which means that new packages can publish ESM only and still support CommonJS.
I’m curious to know how well that actually works in practice—let us know your experiences in this area!
https://nodejs.org/api/modules.html#loading-ecmascript-modules-using-require
#NodeJS
It lets you require() ESM modules—which means that new packages can publish ESM only and still support CommonJS.
I’m curious to know how well that actually works in practice—let us know your experiences in this area!
https://nodejs.org/api/modules.html#loading-ecmascript-modules-using-require
#NodeJS