On this page

Source Code: lib/html/HtmlModulesPlugin.js#L56
Source Code: lib/html/HtmlModulesPlugin.js#L58
Type:Record<string, string | boolean | undefined>

attributes; true renders a bare boolean attribute, false/undefined is omitted

Source Code: lib/html/HtmlModulesPlugin.js#L59
Type:string

inner content (ignored for void elements like <link>/<meta>)

Source Code: lib/html/HtmlModulesPlugin.js#L60
Type:"body" | "head" | "head-prepend" | "body-prepend"

placement; defaults to "head"

Source Code: lib/html/HtmlModulesPlugin.js#L57
Type:string

tag name, e.g. "script" / "link" / "meta"

Source Code: lib/html/HtmlModulesPlugin.js#L61
Type:boolean

force a void element (no closing tag); inferred from the tag name when omitted