Skip to content

Commit

Permalink
Fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fanich37 committed Dec 10, 2018
1 parent fa30ce1 commit 363a34a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ ng build --stats-json --build-optimizer=false --vendor-chunk=true
```
The resulting stats.json can be found at `dist/stats.json`

*Please be aware, that this is not a reasonable build for production use, as it increases the build output size considerably.*

### I don't see `gzip` or `parsed` sizes, it only shows `stat` size

It happens when `webpack-bundle-analyzer` analyzes files that don't actually exist in your file system, for example when you work with `webpack-dev-server` that keeps all the files in RAM. If you use `webpack-bundle-analyzer` as a plugin you won't get any errors, however if you run it via CLI you get the error message in terminal:
Expand All @@ -173,7 +175,6 @@ Analyzer will use module sizes from stats file.
```
To get more information about it you can read [issue #147](https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/147).

*Please be aware, that this is not a reasonable build for production use, as it increases the build output size considerably.*

<h2 align="center">Maintainers</h2>

Expand Down

0 comments on commit 363a34a

Please sign in to comment.