module-deps
module-deps copied to clipboard
Make it so that passed-in 'paths' are respected when loading transforms
Doing:
mdeps({ paths: ['/some/path'] })
...fails to resolve transforms under /some/path, and also ignores $NODE_PATH. This PR includes a unit test and a fix.