On this page

new EnvironmentPlugin(...keys): void

Creates an instance of EnvironmentPlugin.

  • defaultValues {Record<string, any>}
  • keys <string[]>
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:
{void}

Applies the plugin by registering its hooks on the compiler.