On this page

new ElectronTargetPlugin(context?): void
  • context <"main"> | <"preload"> | <"renderer"> in main, preload or renderer context?
  • Returns: <ElectronTargetPlugin>

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.