new Template(): TemplateReturns:
<Template>Attributes
Attributes
str:
<string>
|
<string[]>string or string collection
Returns:
<string>returns a single string from array
fn{Stringable} a runtime function (.runtime.js) "template"- Returns:
<string>the updated and normalized function string
Attributes
modules:
<WithId[]>a collection of modules to get array bounds for
Returns:
{false|Tuple< number, number >} returns the upper and lower array bounds
or false if not every module has a number based id
Attributes
s:
<string>
|
<string[]>string to convert to identity
Returns:
<string>converted identity
Attributes
n:
<number>number to convert to ident
Returns:
<string>returns single character ident
Attributes
n:
<number>number to convert to ident
Returns:
<string>returns single character ident
Attributes
s:
<string>
|
<string[]>string to create prefix for
prefix:
<string>prefix to compose
Returns:
<string>returns new prefix string
Attributes
renderContext:
<ChunkRenderContextJavascriptModulesPlugin>render context
modules:
<Module[]>modules to render (should be ordered by identifier)
renderModule:
<object>function to render a module
prefix:
<string>applying prefix strings
Attributes
runtimeModules:
<RuntimeModule[]>array of runtime modules in order
renderContext:
<RenderContextJavascriptModulesPlugin>render context
Returns:
<Source>rendered chunk runtime modules in a Source object
Attributes
runtimeModules:
<RuntimeModule[]>array of runtime modules in order
renderContext:
<RenderContextJavascriptModulesPlugin>
|
<object>render context
Returns:
<Source>rendered runtime modules in a Source object
Attributes
str:
<string>string to be converted to commented in bundle code
Returns:
<string>returns a commented version of string
Attributes
str:
<string>the string converted to identifier
Returns:
<string>created identifier
Attributes
str:
<string>string to be converted to "normal comment"
Returns:
<string>returns a commented version of string
Attributes
str:
<string>string path to be normalized
Returns:
<string>normalized bundle-safe path