Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

additionalChunks?: string[]

Additional chunks to include in the outputted HTML file. Use this if you set up some custom chunking (e.g. using SplitChunksPlugin).

html: string

Relative or absolute path to the HTML template file for this entry point.

js: string

Relative or absolute path to the main JS file for this entry point.

name: string

Human friendly name of your entry point

nodeIntegration?: boolean

Override the webpack config for this renderer based on whether nodeIntegration for the BrowserWindow is enabled. For webpack's target option:

  • When nodeIntegration is true, the target is electron-renderer.
  • When nodeIntegration is false, the target is web.

Unfortunately, we cannot derive the value from the main process code as it can be dynamically generated at run-time, and webpack processes at build-time.

Defaults to false (as it is disabled by default in Electron >= 5) or the value set for all entries.

prefixedEntries?: string[]

Additional entries to put in the array of entries for this entry point, useful if you need to set up things like error reporting as separate entry files into your application.

Information about the preload script for this entry point. If you don't use preload scripts, you don't need to set this.