On this page

new EnvironmentPlugin(...keys?): void
  • keys {string|string[]|Record<string, any>[]} keys
  • Returns: {EnvironmentPlugin}
  • defaultValues {Record<string, any>}
  • keys <string[]>
webpack.EnvironmentPlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin