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

include none-ts files, and templates/**/*.* and exclude node_modules #57

Open
xxyyzz2050 opened this issue Oct 29, 2019 · 0 comments
Open

Comments

@xxyyzz2050
Copy link

xxyyzz2050 commented Oct 29, 2019

I want to match all none-ts files, and all files inside templates folder including ts files
and totally exclude node_modules

please don't suggest extended patterns
i.e: {!(node_modules/), !(*.ts), templates/}
because it will run the glob multiple times, causing to include node_modules in the other extended patterns

also !(node_modules/) not works
and !(node_modules)/
cannot be used with files, i.e: !(node_modules | .ts)/*

examples:
node_modules/some-module/file.js (not matches: inside node_modules)
dir/subdir/file.ts (not matches: .ts)
dir/subdir/files/file.ts (matches: .ts file, but inside files/ dir)

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

1 participant