A set of options for injected records, where key is the name of the generated entry or chunk and value is a set of link or script attributes.
If not set then only the generated output of the input entries will be inserted without additional attributes.
If Entry.tag of an entry is not set then it will be determined based on other attributes and file extension.
An array or set of names of entries to exclude from injection.
Arrays of additional scripts and links that will be injected to the output HTML document before or after the generated entries and chunks.
External.tag is mandatory.
A file path of the favicon of the output HTML document. The provided file will be emitted as an asset.
A file name of the resulting HTML document.
⚠️ Mandatory if the template option is set to an HTML.
Defines whether to inject bundled files or not.
If set to false
then bundled files are not injected.
A set of metadata of the output HTML document. The provided object is
handled as pairs name: content
.
Options
to pass to the html-minifier.
If the options is undefined or set to false
then the output HTML will
not minified.
A path to append to file references injected. This is useful for putting files on a CDN after building.
A path to an HTML template file or an HTML string.
Sets the title of the output HTML document.
Generated using TypeDoc
HTML2 Plugin Options