Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overrides option #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

flyfishMT
Copy link

Adds a new option - "overrides" that is an object used like a hash table. The "key" of the hash table is the package name and thus the folder name under node_modules. The "value" of the hash table is an array of file paths to add to the result set rather than the main file. The path is expected to be relative within the node package sub-directory (as if the present working directory is /node_modules/packageName/). Kind of modeled after main-bower-files overrides, but took one level of object out of the mix. I kind of need this functionality to use this in my build process, hope the implementation is Ok, let me know if you would like changes or your thoughts. Thanks for the great work.

@flaviorocks
Copy link

I would like to see this functionality added as well.

@ripexz ripexz mentioned this pull request Aug 3, 2017
@deKaantje
Copy link

Any news about this option? Will it be reviewed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants