remove node_modules from eclipse
Adds a resource filter for node_modules.
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -117,6 +117,17 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
project {
|
||||||
|
//if you don't want any node_modules folder to appear in Eclipse, you can filter it out:
|
||||||
|
resourceFilter {
|
||||||
|
appliesTo = 'FOLDERS'
|
||||||
|
type = 'EXCLUDE_ALL'
|
||||||
|
matcher {
|
||||||
|
id = 'org.eclipse.ui.ide.multiFilter'
|
||||||
|
arguments = '1.0-name-matches-false-false-node_modules'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user