3 ms·
> it’s not native to Node yet without .mjs extension Since v13, you can use ES modules without the .mjs extension if the nearest package.json includes `"type":
by ravenstine 6y ago
> it’s not native to Node yet without .mjs extension
Since v13, you can use ES modules without the .mjs extension if the nearest package.json includes `"type": "module"`.
- runawaybottle 6y agoThank you, that’s good to know.