On this page

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

Apply the plugin