My first approach was trying to use minimatch instead of globrex. Minimatch allow patterns like */+(lib1|lib2). The problem with this syntax is that it could conflict with the syntax to include the dependencies.
Finally, I decided to update the options parser to accept an array of filters.
My first approach was trying to use minimatch instead of
globrex
. Minimatch allow patterns like*/+(lib1|lib2)
. The problem with this syntax is that it could conflict with the syntax to include the dependencies.Finally, I decided to update the options parser to accept an array of filters.
Example:
This feature was already requested on https://github.com/folke/ultra-runner/issues/182