ardiffact

Home > @microsoft/webpack-stats-differ > getFriendlyAssetName

getFriendlyAssetName() function

Returns a readable name of the asset

Signature:

export declare function getFriendlyAssetName(asset: Pick<Asset, "name" | "chunkNames" | "chunks">): string;

Parameters

Parameter Type Description
asset Pick<Asset, “name” | “chunkNames” | “chunks”> webpack stats asset

Returns:

string