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
Starting with Node 13.1.0, if you pass --experimental-resolve-self, Node will resolve require("pkg") to the parent package provided the nearest package.json has a matching "name": "pkg" field.
Concretely, this means require("this") would just become require("my-package") under this scheme. This also works with multiple different packages simultaneously, while this does not as it doesn't remove itself from the cache before returning.
There is nothing you need to do as part of this issue, and you may feel free to close it immediately. I just wanted to let you know this is an upcoming thing so you could be aware of it.