Type:
stringType:
Chunk | ChunkPathDataType:
ChunkGraphType:
stringType:
stringuntruncated module/asset content hash, for re-encoding [contenthash:<digest>] from full entropy
Type:
stringpathData.contentHashWithLength(length): string
Attributes
Type:
stringType:
stringuntruncated compilation hash, for re-encoding [fullhash:<digest>]
Type:
stringdigest fullHash is encoded in (defaults to hashDigest)
Type:
stringType:
booleantreat [hash] as [fullhash] rather than the module hash (CSS local idents)
Type:
stringdigest the stored hashes are encoded in (for [hash:<digest>])
pathData.hashWithDigest(digest, length?): string
Attributes
builds [fullhash:<digest>]/[hash:<digest>] in the runtime chunk-filename context, where it throws because a runtime getFullHash() expression cannot be re-encoded
pathData.hashWithLength(length): string
Attributes
Type:
stringType:
Module | ModulePathDataType:
booleanpathData.prepareId(id): string | number
Attributes
Type:
stringType:
booleanwhether optimization.realContentHash recomputes content hashes (records an inline [contenthash:<digest>] so it re-encodes in that digest)
Type:
RuntimeSpecType:
stringType:
string