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