2
My project is structured more or less like this:
dist
- *
node_modules
- *
source
- *.js
- *.spec.js
- *.test.js
- *.vue
- __tests__
tests
- *.js
- *.spec.js
- *.test.js
I’m trying to create a glob to grab only the files vue
and js
, but I’m not sure how to remove files spec.js
and test.js
from the source directory.
My current glob looks like this: project/!(node_modules|dist|__tests__|tests)**/*.+(!(spec|test)|vue|js)
He takes everything inside the briefcase source
with the exception of the folder __tests__
. Now I wonder how I can get him to just take js
and not the spec.js
and test.js
.