Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebpackPluginEntryPoint

Hierarchy

  • WebpackPluginEntryPoint

Index

Properties

Optional additionalChunks

additionalChunks: string[]

Additional chunks to include in the outputted HTML file, use this if you set up some custom chunking. E.g. CommonChunksPlugin

Optional html

html: undefined | string

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

If this is a window, you MUST provide this. Only leave it unset for things like WebWorker scripts.

js

js: string

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

name

name: string

Human friendly name of your entry point

Optional prefixedEntries

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.

Optional preload

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