How do I filter out an entire folder from the main-bower-files?
For example, if I'm doing this mainBowerFiles('**/jquery-validation/**')
, it returns only the files from the jquery-validation
folder, but I need the opposite.
I've tried mainBowerFiles('!**/jquery-validation/**')
, however it seems like !
sign doesn't work in this case. What's wrong with my pattern?