Skip to content

Commit

Permalink
docs: update wording about bundling
Browse files Browse the repository at this point in the history
Co-authored-by: Frazer Smith <[email protected]>
  • Loading branch information
davidjbng and Fdawgs authored Dec 13, 2023
1 parent 8dda4f5 commit 7956f84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ Note that this behavior is disabled by default in `@fastify/swagger-ui`.
### Bundling
If you want to bundle Swagger UI with your application, you need to copy the swagger-ui static files to your server yourself and set the `baseDir` option to point to your folder.
To bundle Swagger UI with your application, the swagger-ui static files need to be copied to the server and the `baseDir` option set to point to the file directory.
<details>
<summary>Copy files with esbuild</summary>
Expand Down

0 comments on commit 7956f84

Please sign in to comment.