-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4021 from alphagov/v4-stats-docs
Add README for stats package
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# GOV.UK Frontend stats | ||
|
||
This package is used to generate Rollup visualizer stats for built GOV.UK Frontend modules. | ||
|
||
```shell | ||
npm run build:stats --workspace govuk-frontend | ||
``` | ||
|
||
Stats are shown in the review app [deployed to Heroku](https://govuk-frontend-review.herokuapp.com) or when run locally using `npm start`. | ||
|
||
## Stats for previous version | ||
|
||
GOV.UK Frontend is resolved from [./packages/govuk-frontend](../../packages/govuk-frontend/) unless a previous version is installed locally: | ||
|
||
```shell | ||
npm install [email protected] --save --workspace govuk-frontend-stats | ||
``` |