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

Unable to 'wildcard' ignorePath #96

Open
Sebdevar opened this issue Dec 4, 2020 · 1 comment
Open

Unable to 'wildcard' ignorePath #96

Sebdevar opened this issue Dec 4, 2020 · 1 comment

Comments

@Sebdevar
Copy link
Contributor

Sebdevar commented Dec 4, 2020

Mono-repo

node_modules/
packages/
  a/
    node_modules/
  b/
    node_modules/
  c/
    c-1/
      node_modules/
    c-2/
      node_modules/

Expected ignore-path

"ignorePath": [
  "node_modules",
  "**/node_modules"

Current ignore-path (so that it works)

"ignorePath": [
  "node_modules",
  "packages/a/node_modules",
  "packages/b/node_modules",
  "packages/c/c-1/node_modules",
  "packages/c/c-2/node_modules"

Either the behaviour is not currently implemented or I'm doing it wrong. If the latter, please tell me how.

Thanks ;)

@MaximeThoonsen
Copy link
Contributor

Hey @Sebdevar.
It is not currently implemented. Do you want to suggest a PR? The code is in pathHelper.ts.

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

No branches or pull requests

2 participants