On this page

new IgnorePlugin(options): IgnorePlugin
Attributes

Creates an instance of IgnorePlugin.

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

Applies the plugin by registering its hooks on the compiler.


checkIgnore(resolveData): false | undefined
Attributes

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.