htmlTemplateContext.addBuildDependency(dependency): void
Attributes
dependency:
stringregister a build dependency (e.g. a template engine config) so changing it invalidates the cache
htmlTemplateContext.addContextDependency(dependency): void
Attributes
dependency:
stringregister a directory as a build dependency
htmlTemplateContext.addDependency(dependency): void
Attributes
dependency:
stringregister a file (e.g. a template partial) as a build dependency so editing it triggers a rebuild
htmlTemplateContext.addMissingDependency(dependency): void
Attributes
dependency:
stringregister a not-yet-existing path as a build dependency so creating it triggers a rebuild
htmlTemplateContext.emitError(error): void
Attributes
report an error on the module
htmlTemplateContext.emitWarning(warning): void
Attributes
report a non-fatal warning on the module
Source Code: lib/html/HtmlParser.js#L59Type:
Modulethe html module being transformed
Source Code: lib/html/HtmlParser.js#L60Type:
stringabsolute path of the module's resource