On this page

new ProvidePlugin(definitions): void

Creates an instance of ProvidePlugin.

apply(compiler): void
Attributes
compiler:<Compiler>
Returns:<void>

Applies the plugin by registering its hooks on the compiler.