new IgnorePlugin(options): IgnorePluginAttributes
options:
<IgnorePluginOptions>IgnorePlugin options
Returns:
<IgnorePlugin>Creates an instance of IgnorePlugin.
Attributes
options:
<IgnorePluginOptions>apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.
checkIgnore(resolveData): false | undefinedAttributes
resolveData:
<BeforeContextResolveData>
|
<ResolveData>resolve data
Returns:
<false>
|
<undefined>
returns false when the request should be ignored, otherwise undefinedNote that if "contextRegExp" is given, both the "resourceRegExp" and "contextRegExp" have to match.
Attributes
Attributes
checkResource:
<Function>A filter function for resource and context.