On this page

new ElectronTargetPlugin(context?): ElectronTargetPlugin
Attributes
context:"main" | "preload" | "renderer"
in main, preload or renderer context?

Creates an instance of ElectronTargetPlugin.

apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Applies the plugin by registering its hooks on the compiler.