new NormalModuleReplacementPlugin(resourceRegExp, newResource): NormalModuleReplacementPluginAttributes
resourceRegExp:
<RegExp>the resource matcher
newResource:
<string>| (resolveData:
<ResolveData>
) =>
<void>
the resource replacementReturns:
<NormalModuleReplacementPlugin>Create an instance of the plugin
Attributes
newResource:
<string>| (resolveData:
<ResolveData>
) =>
<void>resourceRegExp:
<RegExp>apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.