Skip to content

Commit

Permalink
Merge pull request #231 from fanich37/stat-size-issue
Browse files Browse the repository at this point in the history
Update README.md (#191)
  • Loading branch information
th0r authored Dec 10, 2018
2 parents a3ee8e0 + 363a34a commit f94fb30
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,16 @@ 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:
```
Couldn't parse bundle asset "your_bundle_name.bundle.js".
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).


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

<table>
Expand Down

0 comments on commit f94fb30

Please sign in to comment.