On this page

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

Apply the plugin


webpack.IgnorePlugin.checkIgnore(resolveData): void
  • resolveData {BeforeContextResolveData|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.