On this page

new DotenvPlugin(options?): void

Creates an instance of DotenvPlugin.

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

Applies the plugin by registering its hooks on the compiler.