artifacts-analyzer
v0.0.9
Published
Helps to analyze build optimizations, by comparing 2 build results
Downloads
2
Readme
artifacts-analyzer
This utillity cli library helps in comparing 2 build folders.
How to use
- Go to your project root folder, make sure that artifacts are allready generated
- run
npx artifacts-analyzer record build
wherebuild
is youre artifacts folder. Json stats report would be generated and saved in./buildSizeLogs.json
so we can compare it later. - Now make some changes to your build, and build the project again
- run
npx artifacts-analyzer report build
. An HTML report should be generated now, you can find it in your project root at./buildSizeReport.html
You will see something like this