new DefinePlugin(definitions): voiddefinitions{Definitions} A map of global object definitions- Returns:
<DefinePlugin>
Create a new define plugin
definitions{Definitions}
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
{void}
Apply the plugin
Attributes
compilation:
<Compilation>the compilation
Returns:
{DefinePluginHooks} the attached hooks
Attributes
fn:
<object>generator function
options:
<string[]>options
Returns:
{RuntimeValue} runtime value