new NormalModuleReplacementPlugin(resourceRegExp, newResource): NormalModuleReplacementPluginAttributes
Returns:
<NormalModuleReplacementPlugin>Create an instance of the plugin
Attributes
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.