Update docs re production builds (#1316)

This commit is contained in:
Paul Melnikow
2017-12-04 19:08:48 -05:00
committed by GitHub
parent 9882a44e56
commit 342e71ee65
2 changed files with 16 additions and 6 deletions

View File

@@ -127,7 +127,7 @@ Development
6. Open `http://[::]:8080/` to view the home page.
To generate the frontend using production cache settings – that is,
badge preview URIs with `maxAge` – run `npm run build:production`.
badge preview URIs with `maxAge` – run `LONG_CACHE=true npm run build`.
To analyze the frontend bundle, run `npm install webpack-bundle-analyzer` and
then `ANALYZE=true npm start`.