The current implementation chooses to search for the module in the following order:
- <
configPath directory>/node_modules/
- main file in <
configPath directory>/package.json
I have a need for the search to continue. Perhaps if these first two searches turn out unsuccessful, these 2 steps could be repeated in the CWD (in place of the configPath) if an explicit one was provided. So the process would be to search for the module in the following order:
- <
configPath directory>/node_modules/
- main file in <
configPath directory>/package.json
- <provided
cwd>/node_modules/
- main file in <provided
cwd>/package.json