bundle-stats 3.2.2-beta.0 → 3.2.3-alpha.2
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.
- package/CHANGELOG.md +25 -1
- package/README.md +7 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,31 @@
|
|
|
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.
|
|
6
|
+
## [3.2.3-alpha.2](https://github.com/relative-ci/bundle-stats/compare/v3.2.3-alpha.1...v3.2.3-alpha.2) (2022-01-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package bundle-stats
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.2.3-alpha.1](https://github.com/relative-ci/bundle-stats/compare/v3.2.3...v3.2.3-alpha.1) (2022-01-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package bundle-stats
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.2.3](https://github.com/relative-ci/bundle-stats/compare/v3.2.2...v3.2.3) (2022-01-10)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package bundle-stats
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [3.2.2](https://github.com/relative-ci/bundle-stats/compare/v3.2.1...v3.2.2) (2021-12-08)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package bundle-stats
|
|
9
33
|
|
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.
|
|
3
|
+
"version": "3.2.3-alpha.2",
|
|
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.
|
|
47
|
-
"@bundle-stats/utils": "^3.2.
|
|
48
|
-
"boxen": "
|
|
49
|
-
"core-js": "3.
|
|
50
|
-
"fs-extra": "
|
|
51
|
-
"listr": "
|
|
46
|
+
"@bundle-stats/cli-utils": "^3.2.3-alpha.2",
|
|
47
|
+
"@bundle-stats/utils": "^3.2.3-alpha.2",
|
|
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.3.
|
|
54
|
+
"yargs": "17.3.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"jest": "27.4.
|
|
57
|
+
"jest": "27.4.7"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "3f403264dec8e04b64f94e361a190293a7b976f3"
|
|
60
60
|
}
|