Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Remove outdated bit from README, update bundle-analyzer link
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwcomeau committed Jun 3, 2018
1 parent 7c85938 commit 80b24d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,7 @@ Once the build is complete, you should have a JSON file located at `build/bundle
The quickest way to get insight into your bundle is to drag and drop that JSON file into [Webpack Visualizer](https://chrisbateman.github.io/webpack-visualizer/).
Another very popular tool is [`webpack-bundle-analyzer`](https://www.npmjs.com/package/webpack-bundle-analyzer).
Another very popular tool is [`webpack-bundle-analyzer`](https://github.com/webpack-contrib/webpack-bundle-analyzer).
To use `webpack-bundle-analyzer`, start by installing it from NPM:
Expand All @@ -2124,7 +2124,6 @@ In `package.json`, add the following line to `scripts`:
+ "analyze": "npm run build -- --stats && webpack-bundle-analyzer build/bundle-stats.json",
"start": "react-scripts start",
"build": "react-scripts build",
"build:with-stats": "react-scripts build",
"test": "react-scripts test --env=jsdom",
```
Expand Down

0 comments on commit 80b24d5

Please sign in to comment.