new MainTemplate(): MainTemplate
Returns:
MainTemplatemainTemplate.getAssetPath(path, options): string
Attributes
mainTemplate.getAssetPathWithInfo(path, options): InterpolatedPathAndAssetInfo
Attributes
mainTemplate.getPublicPath(options): string
Attributes
Type:
ObjectType:
ObjectmainTemplate.hooks.afterStartup.tap(): never
Returns:
neverType:
ObjectmainTemplate.hooks.assetPath.call(filename, options): string
Attributes
mainTemplate.hooks.assetPath.tap(options, fn): void
Attributes
Type:
ObjectmainTemplate.hooks.beforeStartup.tap(): never
Returns:
neverType:
SyncWaterfallHook<[string, Chunk, string, ModuleTemplate, DependencyTemplates], string>Type:
ObjectmainTemplate.hooks.globalHash.tap(): void
Type:
ObjectmainTemplate.hooks.globalHashPaths.tap(): void
Type:
ObjectmainTemplate.hooks.hash.tap(options, fn): void
Attributes
Type:
ObjectmainTemplate.hooks.hashForChunk.tap(options, fn): void
Attributes
Type:
ObjectmainTemplate.hooks.hotBootstrap.tap(): never
Returns:
neverType:
ObjectmainTemplate.hooks.moduleObj.tap(): never
Returns:
neverType:
ObjectmainTemplate.hooks.modules.tap(): never
Returns:
neverType:
ObjectmainTemplate.hooks.render.tap(options, fn): void
Attributes
fn:
(source: Source, chunk: Chunk, hash: undefined | string, moduleTemplate: ModuleTemplate, dependencyTemplates: DependencyTemplates) => SourceType:
ObjectmainTemplate.hooks.renderManifest.tap(options, fn): void
Attributes
fn:
(renderManifestEntries: RenderManifestEntry[], renderManifestOptions: RenderManifestOptions) => RenderManifestEntry[]Type:
ObjectmainTemplate.hooks.renderWithEntry.tap(options, fn): void
Attributes
Type:
ObjectmainTemplate.hooks.require.tap(options, fn): void
Attributes
fn:
(value: string, renderBootstrapContext: RenderBootstrapContext) => stringType:
ObjectmainTemplate.hooks.startup.tap(): never
Returns:
nevermainTemplate.renderCurrentHashCode(hash, length?): string
Attributes
Type:
OutputType:
"__webpack_require__"