On this page

new ProvidePlugin(definitions): void
  • definitions {Record< string, string|string[] >} the provided identifiers
  • Returns: <ProvidePlugin>
  • definitions {Record< string, string|string[] >}
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin