On this page

new IgnorePlugin(options): IgnorePlugin
Attributes
IgnorePlugin options

Creates an instance of IgnorePlugin.

Attributes
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:<void>

Applies the plugin by registering its hooks on the compiler.


checkIgnore(resolveData): false | undefined
Attributes
resolve data
Returns:
<false> | <undefined> returns false when the request should be ignored, otherwise undefined

Note that if "contextRegExp" is given, both the "resourceRegExp" and "contextRegExp" have to match.

<object>

Attributes
contextRegExp:<RegExp>
A RegExp to test the context (directory) against.
resourceRegExp:<RegExp>
A RegExp to test the request against.

<object>

Attributes
checkResource:<Function>
A filter function for resource and context.