RoadmapShopEvents
Skip to main content

Home > @rushstack/webpack5-module-minifier-plugin > IAssetInfo

IAssetInfo interface

Information about a dehydrated webpack ECMAScript asset

Signature:

export interface IAssetInfo 

Properties

PropertyModifiersTypeDescription
chunkChunkThe raw chunk object from Webpack, in case information from it is necessary for reconstruction
fileNamestringThe name of the asset, used to index into compilation.assets
sourcesources.SourceThe (minified) boilerplate code for the asset. Will contain a token to be replaced by the minified modules.
typestringThe type of the asset