On this page

These types are not exported by webpack, but they are available to TypeScript consumers.

Attributes
the resulting data for all source types
hash:string
a hash of the code generation result (will be automatically calculated from sources and runtimeRequirements if not provided)
runtimeRequirements:ReadonlySet<string> | null
the runtime requirements
sources:Map<string, Source>
the resulting sources for all source types

Attributes
basename:string
chunkGraph:ChunkGraph
contentHash:string
contentHashFull:string
untruncated module/asset content hash, for re-encoding [contenthash:<digest>] from full entropy
contentHashType:string
contentHashWithLength:(length: number) => string
filename:string
fullHash:string
untruncated compilation hash, for re-encoding [fullhash:<digest>]
fullHashDigest:string
digest fullHash is encoded in (defaults to hashDigest )
hash:string
hashAsFullHash:boolean
treat [hash] as [fullhash] rather than the module hash (CSS local idents)
hashDigest:string
digest the stored hashes are encoded in (for [hash:<digest>] )
hashWithDigest:(digest: string, length?: number) => string
builds [fullhash:<digest>] / [hash:<digest>] in the runtime chunk-filename context, where it throws because a runtime getFullHash() expression cannot be re-encoded
hashWithLength:(length: number) => string
local:string
noChunkHash:boolean
prepareId:(id: string | number) => string | number
query:string
realContentHash:boolean
whether optimization.realContentHash recomputes content hashes (records an inline [contenthash:<digest>] so it re-encodes in that digest)
runtime:RuntimeSpec
uniqueName:string
url:string