On this page

new ElectronTargetPlugin(context?): void
  • context {"main"|"preload"|"renderer"} in main, preload or renderer context?
  • Returns: {ElectronTargetPlugin}
webpack.electron.ElectronTargetPlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin