- Type:
string[]
micromatch wildcard patterns.
Common wildcards are:
*matches any characters within a single path segment (it canβt cross/).**matches across path segments (it can cross/).!creates an exception. It re-includes URLs that earlier patterns excluded (the crawler evaluates patterns in order).
exclusionPatterns.
In micromatch, some characters (for example,
?) have a special meaning.
To match them as normal characters, prefix them with a backslash (for example, \?).Example exclusion patterns
JavaScript