new IgnorePlugin(options): IgnorePluginAttributes
options:
IgnorePluginOptionsIgnorePlugin options
Returns:
IgnorePluginCreates an instance of IgnorePlugin.
Attributes
options:
IgnorePluginOptionsapply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.
checkIgnore(resolveData): false | undefinedAttributes
resolveData:
BeforeContextResolveData | ResolveDataresolve data
Returns:
false | undefinedreturns false when the request should be ignored, otherwise undefined
Note that if "contextRegExp" is given, both the "resourceRegExp" and "contextRegExp" have to match.
{ contextRegExp?: RegExp; resourceRegExp: RegExp }
Attributes
{ checkResource: (resource: string, context: string) => boolean }
Attributes