1.0.0-beta.11 • Published 7 years ago
@relative-ci/webpack-bundle-stats v1.0.0-beta.11
Webpack Bundle Stats
Generate bundle report from the webpack stats data.
Demo - one job | Demo - multiple jobs

Install
npm install -g @relative-ci/webpack-bundle-statsor
yarn global add @relative-ci/webpack-bundle-statsConfiguration
Configure Webpack stats to output the necessary data:
{
stats: {
assets: true,
entrypoints: true,
chunks: true,
modules: true
}
}Usage
$ webpack-bundle-stats -h
Usage: webpack-bundle-stats OPTIONS [STATS_FILE]...
Options:
--html Save HTML report [boolean] [default: true]
--json Save JSON data [boolean] [default: false]
--demo Generate demo reports [default: false]
-d, --out-dir Output directory [default: "./dist"]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]$ webpack-bundle-stats --html --json __fixtures__/webpack-stats-0.json __fixtures__/webpack-stats-1.json
✔ Read Webpack stat files
✔ Gather data
✔ Generate reports
✔ Save reports
Reports saved:
- ./dist/report.html
- ./dist/report.json1.0.0-beta.11
7 years ago
1.0.0-beta.10
7 years ago
1.0.0-beta.9
7 years ago
1.0.0-beta.8
7 years ago
1.0.0-beta.7
7 years ago
1.0.0-beta.6
7 years ago
1.0.0-beta.5
7 years ago
1.0.0-beta.4
7 years ago
1.0.0-beta.3
7 years ago
1.0.0-beta.2
7 years ago
1.0.0-beta.1
7 years ago
1.0.0-alpha.5
7 years ago
1.0.0-alpha.4
7 years ago
1.0.0-alpha.3
7 years ago
1.0.0-alpha.2
7 years ago
1.0.0-alpha.1
7 years ago