Home > @microsoft/webpack-stats-report > createReport
Generates a bundle size report from webpack bundle stats diff
Signature:
export declare function createReport(bundleStatsResults: FileDiffResults, minimumIncrease?: number): string;
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