4 ms·
"supported" is somewhat of a misnomer IMHO. It's only supported if the other tools you're using support ESM. Otherwise, it's not. And it's really annoying when
by tomphoolery 5y ago
"supported" is somewhat of a misnomer IMHO. It's only supported if the other tools you're using support ESM. Otherwise, it's not. And it's really annoying when libraries choose to go full ESM because it breaks things like tests and deployments in weird ways.
It's a pain in the ass.
- icholy 5y agoNode supports ESM, full stop.
- mschuetz 5y agoNo, it doesn't. It forces you to use a special extension that breaks the code in browsers.
- rattlesnakedave 5y agoIt's really annoying when libraries don't support a 7 year old standard, as well.