The task is to find all node_modules in the project tree, that are not inside other node_modules.
I tried unsuccessfully something like:
-
('**/node_modules/', {ignore: '**/node_modules/**/node_modules/'})
-
('**/node_modules/', {ignore: '**/node_modules/**'})
Any advice on this?
The task is to find all
node_modulesin the project tree, that are not inside other node_modules.I tried unsuccessfully something like:
('**/node_modules/', {ignore: '**/node_modules/**/node_modules/'})('**/node_modules/', {ignore: '**/node_modules/**'})Any advice on this?