List of patterns to be ignored. If a path matches any of the patterns in this list then it will be ignored and
not added to the build.
The pattern needs to be relative to the source path defined above.
When a path is matched against a pattern, the following special characters can be used:
-
?
Matches one character (any character except path separators)
-
*
Matches zero or more characters (not including path separators)
-
**
Matches zero or more path segments
Examples:
-
**/*.js
Matches all .js files/dirs in a directory tree
-
node_modules/**
Matches the node_modules folder and all its contents
-
test/a??.js
Matches all files/dirs which start with an a, then two more characters and then .js,
in a directory called test
-
**
Matches everything in a directory tree
-
**/test/**/XYZ*
Matches all files/dirs which start with XYZ and where there is a parent directory called
test (e.g. abc/test/def/ghi/XYZ123)