Represents the template runtime component.
new Template(): TemplateReturns:
TemplateAttributes
Attributes
Returns a single string from array.
Attributes
fn:
Stringablea runtime function (.runtime.js) "template"
Returns:
stringthe updated and normalized function string
Gets function content.
Attributes
Gets modules array bounds.
Attributes
Returns converted identity.
Attributes
Number to identifier.
Attributes
Number to identifier continuation.
Attributes
Returns new prefix string.
Attributes
renderContext:
ChunkRenderContextJavascriptModulesPluginrender context
modules:
Module[]modules to render (should be ordered by identifier)
prefix:
stringapplying prefix strings
Returns:
Source | nullrendered chunk modules in a Source object or null if no modules
Renders chunk modules.
Attributes
runtimeModules:
RuntimeModule[]array of runtime modules in order
renderContext:
RenderContextJavascriptModulesPluginrender context
Returns:
Sourcerendered chunk runtime modules in a Source object
Renders chunk runtime modules.
Attributes
runtimeModules:
RuntimeModule[]array of runtime modules in order
renderContext:
RenderContextJavascriptModulesPlugin & { codeGenerationResults?: CodeGenerationResults }render context
Returns:
Sourcerendered runtime modules in a Source object
Renders runtime modules.
Attributes
Returns a commented version of string.
Attributes
Returns created identifier.
Attributes
Returns a commented version of string.
Attributes
Returns normalized bundle-safe path.
Attributes
toString:
() => stringAttributes