Using https://github.com/isaacs/node-glob
The task is to find all node_modules
folder in the project dir, that are not inside other node_modules.
I tried: something like:
-
('**/node_modules/', {ignore: '**/node_modules/**/node_modules/'})
-
('**/node_modules/', {ignore: '**/node_modules/**'})
but it doesn't work.
Any advice on this?
via WHITECOLOR
No comments:
Post a Comment