ardiffact

Home > @microsoft/webpack-stats-report > createReport

createReport() function

Generates a bundle size report from webpack bundle stats diff

Signature:

export declare function createReport(bundleStatsResults: FileDiffResults, minimumIncrease?: number): string;

Parameters

Parameter Type Description
bundleStatsResults FileDiffResults Diff results created by FileDiffResults object
minimumIncrease number number indicating the smallest increase in bytes that must be reported

Returns:

string

markdown report