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

Support turning off node_modules default exclude via flag #213

Merged

Conversation

hershmire
Copy link
Contributor

@hershmire hershmire commented Aug 24, 2018

This PR is the first step at resolving NYC's issue #898 I raised. The idea is to be able to turn off the default exclusion of **/node_modules/** for users that need/want to support local node_modules. As mentioned in that issue, the negateExclude (i.e. !**/node_modules/**) doesn't work for cases when you still want your exclusion list to still exclude matches within your local node_modules directory.

Related PRs for solving the above issue:

NOTE: Not sure if you also would want the exportFunc.defaultExclude list to take into account this option. For now, I'm not touching that so for this flag to work, at least one exclude must be present. Let me know if you would want this to also be included and I can make that edit. Thanks!

@hershmire hershmire changed the title Support turning of node_modules default exclude via flag Support turning off node_modules default exclude via flag Aug 24, 2018
@JaKXz
Copy link
Member

JaKXz commented Jan 12, 2019

Sorry for the delayed reply @hershmire, would you mind rebasing this?

Copy link
Member

@coreyfarrell coreyfarrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've rebased. @JaKXz let me know if you have any objections otherwise I'll merge this soon. @hershmire sorry for the delay, thanks for being patient.

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

Successfully merging this pull request may close these issues.

None yet

3 participants