node-dev
node-dev copied to clipboard
Replace resolve with require.resolve
This project currently uses the resolve
package to resolve paths despite it being a plain Node.js application. Currently, this package doesn't really suffer from any major issues because of this aside from being unable to resolve require hooks that use package exports
maps rather than main
, due to this issue https://github.com/browserify/resolve/issues/222#issuecomment-985046830.
Since this library only targets Node, we should be able to drop the resolution helpers for the native thing.