On this page

new ContextExclusionPlugin(negativeMatcher): ContextExclusionPlugin
Attributes
negativeMatcher:RegExp
Matcher regular expression

Creates an instance of ContextExclusionPlugin.

Attributes
negativeMatcher:RegExp
apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Applies the plugin by registering its hooks on the compiler.