in nodejs, it is allowed to import builtins by prefixing them with node:.
This PR enables this for yarn plugins.
fixes #5417
How did you fix it?
Currently, all builtin modules are added to an import map.
I've added all these same modules to the import map a second time, but all with the prefix node:.
What's the problem this PR addresses?
in nodejs, it is allowed to import builtins by prefixing them with
node:
. This PR enables this for yarn plugins.fixes #5417
How did you fix it?
Currently, all builtin modules are added to an import map. I've added all these same modules to the import map a second time, but all with the prefix
node:
.Checklist