gulpjs / gulpjs/liftoff

If an explicit cwd is provided, try searching for the module there if it could otherwise not be determined

Open
#55 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
841
Forks
49
PR merge metrics
No merged PRs in 30d

Description

The current implementation chooses to search for the module in the following order:
1. <`configPath` directory>/node_modules/
2. 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:
1. <`configPath` directory>/node_modules/
2. main file in <`configPath` directory>/package.json
3. <provided `cwd`>/node_modules/
4. main file in <provided `cwd`>/package.json

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.