Type alias IgnorePluginOptions
IgnorePluginOptions: {
contextRegExp?: RegExp;
resourceRegExp: RegExp;
} | {
checkResource: ((resource, context) => boolean);
}
Type declaration
-
Optional
contextRegExp?: RegExp
-
resourceRegExp: RegExp
Type declaration
-
checkResource: ((resource, context) => boolean)
-
- (resource, context): boolean
-
Parameters
-
resource: string
-
context: string
Returns boolean
A RegExp to test the context (directory) against.