These types are not exported by webpack, but they are available to TypeScript consumers.
Attributes
Attributes
basename:
stringchunk:
Chunk | ChunkPathDatachunkGraph:
ChunkGraphcontentHash:
stringcontentHashFull:
stringuntruncated module/asset content hash, for re-encoding
[contenthash:<digest>]
from full entropycontentHashType:
stringfilename:
stringfullHash:
stringuntruncated compilation hash, for re-encoding
[fullhash:<digest>]fullHashDigest:
stringdigest
fullHash
is encoded in (defaults to
hashDigest
)hash:
stringhashAsFullHash:
booleantreat
[hash]
as
[fullhash]
rather than the module hash (CSS local idents)hashDigest:
stringdigest the stored hashes are encoded in (for
[hash:<digest>]
)builds
[fullhash:<digest>]
/
[hash:<digest>]
in the runtime chunk-filename context, where it throws because a runtime
getFullHash()
expression cannot be re-encodedlocal:
stringmodule:
Module | ModulePathDatanoChunkHash:
booleanquery:
stringrealContentHash:
booleanwhether
optimization.realContentHash
recomputes content hashes (records an inline
[contenthash:<digest>]
so it re-encodes in that digest)runtime:
RuntimeSpecuniqueName:
stringurl:
string