On this page

new ChunkTemplate(): ChunkTemplate
  • hooks {Readonly<{ hash: { tap: (options: string | TapOptions & { name: string } & IfSet, fn: (hash: Hash) => void) => void }; hashForChunk: { tap: (options: string | TapOptions & { name: string } & IfSet, fn: (hash: Hash, chunk: Chunk, chunkHashContext: ChunkHashContext) => void) => void }; modules: { tap: (options: string | TapOptions & { name: string } & IfSet, fn: (source: Source, moduleTemplate: ModuleTemplate, renderContext: RenderContextJavascriptModulesPlugin) => Source) => void }; render: { tap: (options: string | TapOptions & { name: string } & IfSet, fn: (source: Source, moduleTemplate: ModuleTemplate, renderContext: RenderContextJavascriptModulesPlugin) => Source) => void }; renderManifest: { tap: (options: string | TapOptions & { name: string } & IfSet, fn: (renderManifestEntries: RenderManifestEntry[], renderManifestOptions: RenderManifestOptions) => RenderManifestEntry[]) => void }; renderWithEntry: { tap: (options: string | TapOptions & { name: string } & IfSet, fn: (source: Source, chunk: Chunk) => Source) => void } }>}
  • outputOptions <OutputNormalizedWithDefaults>