Statoscope is a toolkit to analyze and validate webpack bundle
update jora from 1.0.0-beta.7 to 1.0.0-beta.8 (see changelog)
lots of new methods and assertions-feature
update discoveryjs from 1.0.0-beta.77 to 1.0.0-beta.78
[webpack-model]
- add module_retained_modules(module)
-helper that returns retained modules by specific module
In other words: retained ones will be removed from bundle along with the module
[webpack-ui]
- support module_retained_modules
in module tree. For example, you can see retained modules in the diff-page
[webpack-ui]
- update discoveryjs from 1.0.0-beta.66 to 1.0.0-beta.77 (see changelog)
[webpack-ui]
- expose Discovery namespace
import Statoscope from '@statoscope/webpack-ui';
console.log(Statoscope.Discovery);
See usage example in dev.html
[webpack-ui]
- expose Discovery data and view inspector that helps to debug custom statoscope reports
[webpack-ui]
- add npm run dev
to develop Statoscope UI more easily
[stats-validator-reporter-stats-report]
: add disableReportCompression
-option, disable it will increase the size a lot (false
by default) (#210 by @icy0307)
[report-writer]
: use jsonxl to compress stats in binary json (replacement for old solution)
[webpack-model]
- improve initialization performance[cli]
- add inject-extension
command that injects custom stats extension[cli]
- add vrules
command that shows available validation rules that plugins in statoscope.config.js
provides (#192 by @denisbalyko)[report-writer]
- fix decompression bug (closes #202)[webpack-model]
- fix assets collection when CompressionWebpackPlugin is used[webpack-model]
- fix trimming long module ids[webpack-ui]
- module search now works only for first 500 chars in module name (performance issue)[webpack-ui]
- fix incorrect badge for asset modules[webpack-plugin]
- super-huge (up to 30 times) decrease of html-report size[cli]
- super-huge (up to 30 times) decrease of html-report size[webpack-model]
- trim long module identifier (closes #200)[webpack-ui]
- fix descending modules sort on instant lists (related #162)Financial contribution:
[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)