Home > @microsoft/webpack-stats-differ > getFriendlyAssetName
Returns a readable name of the asset
Signature:
export declare function getFriendlyAssetName(asset: Pick<Asset, "name" | "chunkNames" | "chunks">): string;
Parameter | Type | Description |
---|---|---|
asset | Pick<Asset, “name” | “chunkNames” | “chunks”> | webpack stats asset |
Returns:
string