Optional
cachetrue
Optional
chunksList all entries which should be injected
Optional
chunksAllows to control how chunks should be sorted before they are included to the html.
'auto'
Optional
excludeList all entries which should not be injected
Optional
faviconPath to the favicon icon
Optional
filenameThe file to write the HTML to.
Supports subdirectories eg: assets/admin.html
[name] will be replaced by the entry name
Supports a function to generate the name
'index.html'
Optional
hashIf true
then append a unique webpack
compilation hash to all included scripts and CSS files.
This is useful for cache busting
Optional
injectInject all assets into the given template
or templateContent
.
Optional
metaInject meta tags
Optional
minifyHTML Minification options accepts the following values:
false
to disable minifcation'auto'
to enable minifcation only for production modeOptional
publicBy default the public path is set to auto
- that way the html-webpack-plugin will try
to set the publicPath according to the current filename and the webpack publicPath setting
Optional
scriptSet up script loading blocking will result in defer will result in
'defer'
Optional
showRender errors into the HTML page
Optional
templateThe webpack
require path to the template.
Optional
templateAllow to use a html string instead of reading from a file
Optional
templateAllows to overwrite the parameters used in the template
Optional
favicon?: stringOptional
manifest?: stringOptional
titleThe title to use for the generated HTML document
Optional
xhtmlEnforce self closing tags e.g.
Generated using TypeDoc
Emit the file only if it was changed.