From 7956f8471574b65830f507f76ab887fceba164b0 Mon Sep 17 00:00:00 2001 From: David Jebing <29679909+davidjbng@users.noreply.github.com> Date: Wed, 13 Dec 2023 09:01:27 +0100 Subject: [PATCH] docs: update wording about bundling Co-authored-by: Frazer Smith --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 5eee023..1ae2e17 100644 --- a/README.md +++ b/README.md @@ -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.
Copy files with esbuild