@statoscope/cli
Advanced tools
Changelog
5.24.0 (22 July 2022)
[webpack-ui]
- replace highcharts
by chart.js
Usage example:
{
"view": "box",
"options": { "height": "400px" },
"content": {
"view": "chart",
"data": "{ any chart.js options here }"
}
}
[webpack-ui]
- add error
-view:
{
"view": "error",
"message": "Some error message"
}
[cli]
- js-files can be used in customReport
-arg
[helpers]
- add options
-parameter into formatData
-helper just like Date.toLocaleString
[webpack-model]
- remove stats validation (increase startup performance)Changelog
5.23.0 (14 July 2022)
[helpers]
- update jora
to 1.0.0-beta.7[webpack-ui]
- update @discoveryjs/discovery
to 1.0.0-beta.66[webpack-ui]
- update highcharts
to 10.2.0[webpack-model]
- refactor chunk graph building (fixes bugs of chunks relations accuracy)Changelog
5.22.0 (03 July 2022)
This is 5.21 actually 🤦
[cli]
- add --custom-report
and --config
args for generate
and serve
commands (#157 by @amalitsky)[config]
- add generate.reports
field (#157 by @amalitsky)[webpack-model]
- added helpers:
asset_getSize(asset: NormalizedAsset, hash: string, useCompressed: boolean): Size
assets_getTotalSize(assets: NormalizedAsset[], hash: string, useCompressed: boolean): Size
entrypoint_getChunks(entry: NormalizedEntrypointItem): NormalizedChunk[]
entrypoint_getInitialChunks(entry: NormalizedEntrypointItem): NormalizedChunk[]
entrypoint_getInitialSize(entry: NormalizedEntrypointItem, hash: string, useCompressed: boolean): Size
entrypoint_getAsyncChunks(entry: NormalizedEntrypointItem): NormalizedChunk[]
entrypoint_getAsyncSize(entry: NormalizedEntrypointItem, hash: string, useCompressed: boolean): Size
entrypoint_getAssets(entry: NormalizedEntrypointItem): NormalizedAsset[]
entrypoint_getInitialAssets(entry: NormalizedEntrypointItem): NormalizedAsset[]
entrypoint_getAsyncAssets(entry: NormalizedEntrypointItem): NormalizedAsset[]
resolveCompilationByAsset(asset: NormalizedAsset, filename: string): NormalizedCompilation | null
resolveCompilationByChunk(chunk: NormalizedChunk, filename: string): NormalizedCompilation | null
resolveCompilationByModule(module: NormalizedModule, filename: string): NormalizedCompilation | null
resolveCompilationByEntrypoint(entry: NormalizedEntrypointItem, filename: string): NormalizedCompilation | null
[webpack-ui]
- fix dashboard data[webpack-model]
- fix handling chunks with no files (#158 by @amalitsky)