new DefinePlugin(definitions): DefinePluginAttributes
definitions:
<Definitions>Returns:
<DefinePlugin>Create a new define plugin
Attributes
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
Returns runtime value.
Type:
<undefined>
|
<null>
|
<string>
|
<number>
|
<bigint>
|
<boolean>
|
<Function>
|
<RegExp>
|
<RuntimeValue>
|
<object>
|
<RecursiveArrayOrRecord><
<undefined>
|
<null>
|
<string>
|
<number>
|
<bigint>
|
<boolean>
|
<Function>
|
<RegExp>
|
<RuntimeValue>
>[]definitions<SyncWaterfallHook><<Tuple><<Record><<string>,<CodeValue>>>,<Record><<string>,<CodeValue>>>
[index: {string}]<CodeValue>
Type:
<object>
|
<RecursiveArrayOrRecord><
<T>
>[] |
<T>