@statoscope/webpack-ui
Advanced tools
Changelog
5.12.0 (06 October 2021)
[cli]
- output is no longer a required argument (tmp directory is used by default) (#119 by @wildOrlik)[webpack-model]
- fix crash when unknown extension is used[webpack-model]
- fix crash with regenerator runtimeChangelog
5.11.2 (01 October 2021)
[webpack-ui]
- fix shouldExcludeResource
-helper
Now returns true if no regexp specified
Changelog
5.11.1 (01 October 2021)
[webpack-ui]
- use default target for babel-env (support more browsers)Changelog
5.11.0 (01 October 2021)
[webpack-ui]
- add new options to specify a regexp
All assets matched the regexp will be ignored from download size/time calculation
[stats-validator-plugin-webpack]
- add asset-type exclude to diff-entry-download-size-limits
-rule
[stats-validator-plugin-webpack]
- add asset-type exclude to diff-entry-download-time-limits
-rule
[stats-validator-plugin-webpack]
- add asset-type exclude to entry-download-size-limits
-rule
[stats-validator-plugin-webpack]
- add asset-type exclude to entry-download-time-limits
-rule
[webpack-ui]
- improve settings popupChangelog
5.10.0 (27 September 2021)
[webpack-ui]
- add chart
-view (based on highcharts)
{
view: 'chart,
options: [/* any highcharts options */]
}
Changelog
5.9.0 (27 September 2021)
[stats-extension-custom-reports]
- add package for passing custom reports to the UI (#108)
[webpack-plugin]
- support custom reports (#108)
[webpack-ui]
- support custom reports (#108)
[helpers]
- support lock
/unlock
for Resolver
(#107)
By default, all the resolvers is locked (no items can be added to resolver storage)
const resolver = makeResolver(modules, m => m.identifier);
modules.push(fooModule);
resolver('foo'); // null
resolver.unlock(); // allow to fetch resolver storage for new elements
modules.push(fooModule);
resolver('foo'); // fooModule
In other words, locked resolver remembers its source items and ignores any source changes.
It is useful for performance.
[helpers]
- add Indexer
to build an index (#108)
Index is more complex of resolver. It provides some API to manipulate its storage:
const moduleIndex = makeIndex(module => module.identifier); // no source needed
moduleIndex.add(fooModule);
moduleIndex.get('foo'); // fooModule
moduleIndex.get('bar'); // null
moduleIndex.add(barModule);
moduleIndex.get('bar'); // barModule
moduleIndex.getAll(); // [fooModule, barModule]
[stats-extension-compressed]
- support indexer (#108)
[stats-extension-package-info]
- support indexer (#108)
[stats-extension-stats-validation-result]
- support indexer (#108)
[config]
- add requireConfig
(#108)
[cli]
- support requireConfig
(#108)
[cli]
- add makeReplacer
helper to create json replacer (#107)
[webpack-model]
- add __statoscope.context
field (#107)
[report-writer]
- remove context path from stats (it makes all the path relative from context) (#107)
[webpack-plugin]
- remove context path from stats (it makes all the path relative from context) (#107)
[webpack-stats-extension-package-info]
- remove context path from stats (it makes all the path relative from context) (#107)
[webpack-model]
- use module.identifier to resolve a module (#107)
[webpack-model]
- decouple extension and compilation (#108)
Extensions have attached to files, not to compilations
[webpack-ui]
- use module.identifier
to resolve a module (#107)
[webpack-stats-extension-compressed]
- use module.identifier
to resolve a module (#107)
[stats-validator-plugin-webpack]
- use module.identifier
to resolve a module (#107)
[webpack-model]
- not fail when incomplete stats have usedChangelog
5.8.0 (15 September 2021)
[cli, webpack-plugin, stats-validator-reporter-stats-report]
- generate UI-reports with normalized stats (#104)
It reduces generated UI-report size (sometimes it is more than 10x smaller)[webpack-model, webpack-ui]
- support normalized UI-reports (#104)[stats-validator-plugin-webpack]
- show changed reasons in diff-deprecated-modules/packages rules[webpack-model]
- merge modules chunks info to collect more truthy info about modules chunks (#104)