new ContextReplacementPlugin(resourceRegExp, newContentResource?, newContentRecursive?, newContentRegExp?): ContextReplacementPluginAttributes
Creates an instance of ContextReplacementPlugin.
Attributes
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.