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