On this page

new DefinePlugin(definitions): void

Create a new define plugin

  • definitions {Definitions}
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:
{void}

Applies the plugin by registering its hooks on the compiler.


Attributes
compilation:<Compilation>
Returns:
{DefinePluginHooks}

Returns the attached hooks.


Attributes
Returns:
{RuntimeValue}

Returns runtime value.