Closed GCheung55 closed 10 years ago
I think it has to do with https://github.com/busterjs/buster-configuration/blob/master/lib/group.js#L146-L167.
By following the code, I determined that addResource
doesn't call resolvePathsAndAddMissingResources
, but appendLoad
does.
resolvePathsAndAddMissingResources
eventually invokes expand
which does the exclusions.
The resources option doesn't take a
!files/to/exclude/*.js
path.The error I get is:
'!files/to/exclude/*.js' matched no files
.