new ProvidePlugin(definitions): voiddefinitions{Record<string, string|string[]>}- Returns:
<ProvidePlugin>
Creates an instance of ProvidePlugin.
definitions{Record<string, string|string[]>}
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.