node-dev icon indicating copy to clipboard operation
node-dev copied to clipboard

Replace resolve with require.resolve

Open kherock opened this issue 2 years ago • 0 comments

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.

kherock avatar Mar 28 '22 00:03 kherock