Skip to content

Commit

Permalink
build: add integration with webpack-bundle-analyzer
Browse files Browse the repository at this point in the history
Build as follows to build (production) bundle size stats:

npx webpack -p --progress --analyze-bundle

Then open the report:

npx webpack-bundle-analyzer stats.json
  • Loading branch information
saghul committed Sep 6, 2019
1 parent 486c61e commit 3cfa548
Show file tree
Hide file tree
Showing 4 changed files with 560 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ npm-*.log
.jshintignore
.jshintrc
.DS_Store
stats.json
Loading

0 comments on commit 3cfa548

Please sign in to comment.