Skip to main content
webpack / ProvidePlugin

Class: ProvidePlugin

Defined in: webpack/types.d.ts:14352

Constructors

Constructor

new ProvidePlugin(definitions): ProvidePlugin
Defined in: webpack/types.d.ts:14353

Parameters

definitions
Record<string, string | string[]>

Returns

ProvidePlugin

Properties

definitions

definitions: Record<string, string | string[]>
Defined in: webpack/types.d.ts:14354

Methods

apply()

apply(compiler): void
Defined in: webpack/types.d.ts:14359 Apply the plugin

Parameters

compiler
Compiler

Returns

void