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