Skip to content

Commit

Permalink
Update tasks documentation for postbuild:* scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Mar 28, 2023
1 parent d1b2932 commit a25e77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/contributing/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ npm scripts are defined in `package.json`. These trigger a number of Gulp tasks.
- copy GOV.UK Prototype Kit config files
- copy JavaScript ESM source files
- compile JavaScript ESM to CommonJS
- runs `npm run test:build:package` (which will test the output is correct)
- runs `npm run postbuild:package` (which will test the output is correct)

**`npm run build:dist` will do the following:**

Expand All @@ -54,7 +54,7 @@ npm scripts are defined in `package.json`. These trigger a number of Gulp tasks.
- copy fonts and images
- compile JavaScript and Sass
- append version number from `package/package.json` to compiled JavaScript and CSS files
- runs `npm run test:build:dist` (which will test the output is correct)
- runs `npm run postbuild:dist` (which will test the output is correct)

## Gulp tasks

Expand Down

0 comments on commit a25e77a

Please sign in to comment.