You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe:
Many libraries make use of this feature, so not supporting would result in not being able to use these libraries.
Describe the solution you'd like:
Add the support for the protocol 😄
Describe alternatives you've considered:
Additional context:
node: is a protocol/prefix for importing a module to make clear that its node.js builtin module
@mortynex FWIW, this is only supported in ESM in Node 14 and not in CommonJS. As @jrvidal pointed out above, you can use type: module or, change index.js to index.mjs to run an ES module.
Is your feature request related to a problem? Please describe:
Many libraries make use of this feature, so not supporting would result in not being able to use these libraries.
Describe the solution you'd like:
Add the support for the protocol 😄
Describe alternatives you've considered:
Additional context:
node:
is a protocol/prefix for importing a module to make clear that its node.js builtin moduleexample:
this feature was first introduced in node.js release v14.17.6, PR #37246
The text was updated successfully, but these errors were encountered: