bundle-stats 3.2.1 → 3.2.3-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +7 -0
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.2.3-alpha.1](https://github.com/relative-ci/bundle-stats/compare/v3.2.3...v3.2.3-alpha.1) (2022-01-15)
7
+
8
+ **Note:** Version bump only for package bundle-stats
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.2.3](https://github.com/relative-ci/bundle-stats/compare/v3.2.2...v3.2.3) (2022-01-10)
15
+
16
+ **Note:** Version bump only for package bundle-stats
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.2.2](https://github.com/relative-ci/bundle-stats/compare/v3.2.1...v3.2.2) (2021-12-08)
23
+
24
+ **Note:** Version bump only for package bundle-stats
25
+
26
+
27
+
28
+
29
+
6
30
  ## [3.2.1](https://github.com/relative-ci/bundle-stats/compare/v3.2.0...v3.2.1) (2021-11-23)
7
31
 
8
32
  **Note:** Version bump only for package bundle-stats
package/README.md CHANGED
@@ -56,6 +56,7 @@ yarn add --dev bundle-stats
56
56
  ## Webpack configuration
57
57
 
58
58
  The CLI is consuming the Webpack stats json. The following [stats options](https://webpack.js.org/configuration/stats) are required:
59
+
59
60
  ```js
60
61
  {
61
62
  stats: {
@@ -69,6 +70,12 @@ The CLI is consuming the Webpack stats json. The following [stats options](https
69
70
  }
70
71
  ```
71
72
 
73
+ You can output the stats json file using [webpack-cli](https://www.npmjs.com/package/webpack-cli):
74
+
75
+ ```shell
76
+ npx webpack --mode production --json artifacts/webpack-stats.json
77
+ ```
78
+
72
79
  ## Usage
73
80
 
74
81
  ```shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bundle-stats",
3
- "version": "3.2.1",
3
+ "version": "3.2.3-alpha.1",
4
4
  "description": "In-depth bundle analyzer for webpack(bundle size, assets, modules, packages)",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -43,18 +43,18 @@
43
43
  },
44
44
  "homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/cli#readme",
45
45
  "dependencies": {
46
- "@bundle-stats/cli-utils": "^3.2.1",
47
- "@bundle-stats/utils": "^3.2.1",
48
- "boxen": "^5.0.0",
49
- "core-js": "3.19.1",
50
- "fs-extra": "^10.0.0",
51
- "listr": "^0.14.3",
46
+ "@bundle-stats/cli-utils": "^3.2.3-alpha.1",
47
+ "@bundle-stats/utils": "^3.2.3-alpha.1",
48
+ "boxen": "5.0.0",
49
+ "core-js": "3.20.2",
50
+ "fs-extra": "10.0.0",
51
+ "listr": "0.14.3",
52
52
  "lodash": "4.17.21",
53
53
  "update-notifier": "5.1.0",
54
- "yargs": "17.2.1"
54
+ "yargs": "17.3.1"
55
55
  },
56
56
  "devDependencies": {
57
- "jest": "27.3.1"
57
+ "jest": "27.4.7"
58
58
  },
59
- "gitHead": "0fdfecf0860efdf80e19fa1bb16bb1fddbe070a4"
59
+ "gitHead": "d96a6bf646c9000b7e335775d4f0c83ccbbc6618"
60
60
  }