Hierarchy

  • KnownAssetInfo

Properties

chunkhash?: string | string[]

the value(s) of the chunk hash used for this asset

contenthash?: string | string[]

the value(s) of the content hash used for this asset

development?: boolean

true, when asset is only used for development and doesn't count towards user-facing assets

fullhash?: string | string[]

the value(s) of the full hash used for this asset

hotModuleReplacement?: boolean

true, when asset ships data for updating an existing application (HMR)

immutable?: boolean

true, if the asset can be long term cached forever (contains a hash)

javascriptModule?: boolean

true, when asset is javascript and an ESM

minimized?: boolean

whether the asset is minimized

modulehash?: string | string[]

the value(s) of the module hash used for this asset

related?: Record<string, string | string[]>

object of pointers to other assets, keyed by type of relation (only points from parent to child)

size?: number

size in bytes, only set after asset has been emitted

sourceFilename?: string

when asset was created from a source file (potentially transformed), the original filename relative to compilation context

Generated using TypeDoc