Skip to content

Commit

Permalink
Merge pull request #180 from edmorley/prettify-stats-json
Browse files Browse the repository at this point in the history
Pretty-format the generated stats.json
  • Loading branch information
th0r authored May 21, 2018
2 parents b0d84ff + 082fdd6 commit 12b2e37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._

<!-- Add changelog entries for new changes under this section -->

* **Improvement**
* Pretty-format the generated stats.json ([#180](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/180))

## 2.13.0

* **Improvement**
Expand Down
1 change: 1 addition & 0 deletions src/BundleAnalyzerPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class BundleAnalyzerPlugin {

try {
await bfj.write(statsFilepath, stats, {
space: 2,
promises: 'ignore',
buffers: 'ignore',
maps: 'ignore',
Expand Down

0 comments on commit 12b2e37

Please sign in to comment.