On this page

new EnvironmentPlugin(...keys?): EnvironmentPlugin
Attributes
[] | <Record> < <string> , <any> >[]

Creates an instance of EnvironmentPlugin.

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

Applies the plugin by registering its hooks on the compiler.