interface OutputPlugin { augmentChunkHash: undefined | ObjectHook<((this,
chunk) => string | void), {}>; banner: undefined | ObjectHook<AddonHook, {}>; cacheKey?: string; footer: undefined | ObjectHook<AddonHook, {}>; generateBundle: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), {}>; intro: undefined | ObjectHook<AddonHook, {}>; name: string; outputOptions: undefined | ObjectHook<((this,
options) => NullValue | OutputOptions
), {}>; outro: undefined | ObjectHook<AddonHook, {}>; renderChunk: undefined | ObjectHook<((this,
...parameters) => string | NullValue | { code: string; map?: SourceMapInput; } | Promise<string | NullValue | { code: string; map?: SourceMapInput; }>
), {}>; renderDynamicImport: undefined | ObjectHook<((this,
options) => NullValue | { left: string; right: string; }
), {}>; renderError: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), { sequential?: boolean; }>; renderStart: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), { sequential?: boolean; }>; resolveFileUrl: undefined | ObjectHook<ResolveFileUrlHook, {}>; resolveImportMeta: undefined | ObjectHook<ResolveImportMetaHook, {}>; version?: string; writeBundle: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), { sequential?: boolean; }>; } Properties
augmentChunkHash
augmentChunkHash: undefined | ObjectHook<((this,
chunk) => string | void), {}> Optional cacheKey
cacheKey?: string
generateBundle
generateBundle: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), {}> name
name: string
outputOptions
outputOptions: undefined | ObjectHook<((this,
options) => NullValue | OutputOptions
), {}> renderChunk
renderChunk: undefined | ObjectHook<((this,
...parameters) => string | NullValue | { code: string; map?: SourceMapInput; } | Promise<string | NullValue | { code: string; map?: SourceMapInput; }>
), {}> renderDynamicImport
renderDynamicImport: undefined | ObjectHook<((this,
options) => NullValue | { left: string; right: string; }
), {}> renderError
renderError: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), { sequential?: boolean; }> renderStart
renderStart: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), { sequential?: boolean; }> Optional version
version?: string
writeBundle
writeBundle: undefined | ObjectHook<((this,
...parameters) => void | Promise<void>), { sequential?: boolean; }>
Make all properties in T optional