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