gulpjs / rechoir

Prepare a node environment to require files with different extensions.
MIT License
48 stars 12 forks source link

refactor: remove resolve dependency #47

Open elliotttf opened 5 months ago

elliotttf commented 5 months ago

This replaces the dependency on resolve with node's native require.resolve method which supports custom paths as of node 8.9.0.

This will address false positive findings related to resolve's monorepo-symlink-test file.

jozefizso commented 5 months ago

It's great to upgrade the code to use the native methods when available in the runtime. Great job!

rtritto commented 2 months ago

Can this be merged?