Skip to content

Commit

Permalink
doc: fix preview wording
Browse files Browse the repository at this point in the history
Preview doesn't build anything, it just serves the dist folder if its
built. Clarify that in the instructions.
  • Loading branch information
roosta committed Aug 9, 2023
1 parent 0067874 commit e0584c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,14 @@ To build for production, make sure you have a copy of the `github.json` file in
npm run build
```

Alternatively you can run:
If you want to serve the dist output you can run:

```
npm run preview
```

To preview the production build on a local server.
> NOTE: ./dist folder needs to be built for the preview server to work

## License

Expand Down

0 comments on commit e0584c1

Please sign in to comment.