new DefinePlugin(definitions): voiddefinitions{Definitions}- Returns:
<DefinePlugin>
Create a new define plugin
definitions{Definitions}
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.
Attributes
compilation:
<Compilation>Returns:
{DefinePluginHooks}
Returns the attached hooks.
Attributes
fn:
<object>options:
<string[]>Returns:
{RuntimeValue}
Returns runtime value.