-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Currently, tiny-glob takes a single glob string.
It would be nice if it could also take an array of glob strings, where negations apply to previous items in the array.
For example, given the files:
src/foo.js
src/bar.js
src/test/baz.js
then the invocation:
await glob([
'src/**/*.js',
'!test'
]);would return:
src/foo.js
src/bar.js
This syntax is supported by fast-glob (ref), and is common in applications such as .gitignore files, and the package.json files array.
chdh and kukhariev
Metadata
Metadata
Assignees
Labels
No labels