new ElectronTargetPlugin(context?): ElectronTargetPluginAttributes
context:
"main" | "preload" | "renderer"in main, preload or renderer context?
Returns:
ElectronTargetPluginCreates an instance of ElectronTargetPlugin.
apply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.