On this page

new IgnorePlugin(options): void
  • options {IgnorePluginOptions} IgnorePlugin options
  • Returns: <IgnorePlugin>
  • options {IgnorePluginOptions}
webpack.IgnorePlugin.apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin


webpack.IgnorePlugin.checkIgnore(resolveData): false
Attributes
resolveData:<ResolveData>
resolve data
Returns:
{false} returns false when the request should be ignored, otherwise undefined

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