Breaking
- afed121 refactor: Extract BundleStatsWebpackPlugin into packages/webpack-plugin
webpack.config.js
Import BundleStatsWebpackPlugin from bundle-stats-webpack-plugin
- Update dependencies
npm uninstall --save-dev bundle-stats
npm install --save-dev bundle-stats-webpack-plugin
- Update
webpack.config.js
-const { BundleStatsWebpackPlugin } = require("bundle-stats");
+const { BundleStatsWebpackPlugin } = require("bundle-stats-webpack-plugin");
Features
- d0989ca feature(utils): Report - output createdAt, version
- 2e4d126 feature(utils): Report - show summary section
- e719b6f feature(ui): BundleAssetsTotalsTable - add total in the header
- 054a927 feat(cli): Report info border color based on delta type
- 202d697 feat(cli,webpack-plugin): Show report assetsSizeTotal insight
- f1dbfc6 feat(html-templates): Show assetsSizeTotal insight in the title
- ebafd9d feat(utils): Add assetsSizeTotalInsight
- e70e763 feat(utils): Add getMetricRunInfo
Fixes
- b946889 fix: Update lock files
- c339e99 fix: Update monorepo dependencies
- 287c801 fix(utils): Job - add label
- bb3e042 fix(ui): OrderDropdown - consistent label
- 980971c fix(ui): BundlePackages - get duplicate flag data from insights
- 4843acf fix(html-templates): Export template as a string
- a635bac fix(cli-utils): Remove lib files
- 8878427 fix(utils): Webpack assets sizeTotal insight - show ttotal bundle size
- ebd80fb fix(ui): BundleAssets - revert style change
- e219ac1 fix(ui): WebpackAssetsTotalsTable - show internalBuildNumber in the header
- c9eb793 fix(cli): Add eslint-plugin-import
- 640e6e3 fix(html-templates): Regenerate snapshots
- db754f0 fix(ui): BundleassetsTotalsChartBars - prevent error when the baseline is empty
- 69759bb fix(cli): Filter webpack source on read/write
- 9c7ebfc fix(utils): Skip lib(-esm) from testing
- 1f4e1d5 fix(utils): extractAssetsSizeTotalInsight - remove redundant sign from message
- 6421f43 fix(utils): extractAssetsSizeTotalInsight - add full info
- 6093152 fix(utils): Webpack assets selector - order by metrics
Diff
- 6da91c8 chore(cli): Add deprecation error for BundleStatsWebpackPlugin
- 901712e chore: Npm - skip unnecesary paths
- 533c0fb build: Setup prettier
- 7e29d0a build: Explicit node_modules caching
- cdf32ca build: Auto release on tag push
- 8b788fc refactor(ui): Use job.label
- 15b1fbc test(utils): Report - ignore version
- 882fffb refactor(ui): MetricsTable - move job header inside component
- 0764882 refactor(html-templates): Set page title at build time
- 1232bc5 refactor(utils): Extract browsertime/utils metrics
- 8918106 refactor: Extract lighthouse utilities / metrics
- 8fee359 chore(utils): Add type definitions for metrics
- acd2421 refactor(ui): Extract webpack metrics into the source folder
- 3699964 refactor: Webpack - compare all sections
- c4b912f chore: Regenerate package-lock.json
- e6e6db9 test(html-templates): Add empty baseline story
- 6f50156 chore: Fix package-lock
- da8ec09 refactor(cli-utils): Rename createReports to createArtifacts
- 03015ce refactor(utils): Rename warnings to insights
- ab10717 refactor(ui): Delta - use deltaType value
- f5ae1d8 refactor(utils): Rename metrics/get-metric-type to utils/metrics
- 98e2769 test(ui,html-templates): Update snapshots
- 9b72598 refactor(ui): Use source compare fns
- 01d57b8 refactor(utils): Move metrics/get-metric-changed to report
- 4b3fca4 refactor(utils): mergeRunsById -> mergeMetricsByKey
- 2001e60 refactor(utils): Webpack compare - tweaks
- 412449f refactor(utils): Move comparisons inside webpack
- e36ce66 refactor(utils): Move selectors inside webpack
- 4742b78 build(utils): Update import/no-cycle depth
- 3b26542 refactor(utils): Move report related fns in report
- 6a48b91 build: Lerna - run publish for all packages
- 10a4cc1 build: Husky - remove prepush hook
- a422def refactor: cli-utils - share cli and webpack-plugin logic
- 10c1973 refactor: Move packages/bundle-stats to packages/cli
- 960e061 refactor(utils): createJob - use source extract function
- 7f4c631 refactor(utils): createJob - add metrics: assets, modules, packages
- 13d65a7 refactor(utils): createJob - update job structure
- fb113f3 refactor(utils): Extract webpack rel functionality into a distinct folder