new ElectronTargetPlugin(context?): voidcontext<"main">|<"preload">|<"renderer">in main, preload or renderer context?- Returns:
<ElectronTargetPlugin>
Creates an instance of ElectronTargetPlugin.
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.