On this page

Source Code: lib/html/HtmlParser.js#L58
htmlTemplateContext.addBuildDependency(dependency): void
Source Code: lib/html/HtmlParser.js#L64
Attributes
dependency:string

register a build dependency (e.g. a template engine config) so changing it invalidates the cache

htmlTemplateContext.addContextDependency(dependency): void
Source Code: lib/html/HtmlParser.js#L62
Attributes
dependency:string

register a directory as a build dependency

htmlTemplateContext.addDependency(dependency): void
Source Code: lib/html/HtmlParser.js#L61
Attributes
dependency:string

register a file (e.g. a template partial) as a build dependency so editing it triggers a rebuild

htmlTemplateContext.addMissingDependency(dependency): void
Source Code: lib/html/HtmlParser.js#L63
Attributes
dependency:string

register a not-yet-existing path as a build dependency so creating it triggers a rebuild

htmlTemplateContext.emitError(error): void
Source Code: lib/html/HtmlParser.js#L66
Attributes
error:string | Error

report an error on the module

htmlTemplateContext.emitWarning(warning): void
Source Code: lib/html/HtmlParser.js#L65
Attributes
warning:string | Error

report a non-fatal warning on the module

Source Code: lib/html/HtmlParser.js#L59
Type:Module

the html module being transformed

Source Code: lib/html/HtmlParser.js#L60
Type:string

absolute path of the module's resource