new Template(): TemplateReturns:
<Template>Attributes
Attributes
str:
<string>
|
<string[]>Returns:
<string>Returns a single string from array.
fn{Stringable}- Returns:
<string>
Gets function content.
modules{WithId[]}- Returns: {false|Tuple<number, number>}
Gets modules array bounds.
Attributes
s:
<string>
|
<string[]>Returns:
<string>Returns converted identity.
Attributes
n:
<number>Returns:
<string>Number to identifier.
Attributes
n:
<number>Returns:
<string>Number to identifier continuation.
Attributes
s:
<string>
|
<string[]>prefix:
<string>Returns:
<string>Returns new prefix string.
renderContext{ChunkRenderContextJavascriptModulesPlugin}modules<Module[]>renderModule<object>prefix<string>- Returns:
<Source>|<null>
Renders chunk modules.
Attributes
runtimeModules:
<RuntimeModule[]>renderContext:
{RenderContextJavascriptModulesPlugin}
Returns:
<Source>Renders chunk runtime modules.
Attributes
runtimeModules:
<RuntimeModule[]>renderContext:
<object>Returns:
<Source>Renders runtime modules.
Attributes
str:
<string>Returns:
<string>Returns a commented version of string.
Attributes
str:
<string>Returns:
<string>Returns created identifier.
Attributes
str:
<string>Returns:
<string>Returns a commented version of string.
Attributes
str:
<string>Returns:
<string>Returns normalized bundle-safe path.