diff --git a/README.md b/README.md index f3698e8..fd7ceee 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ # NOTE -1. **Important:** It is vital that this is the last integration in the `integrations` - property. Otherwise some files might not get compressed. +1. **Important:** It is important that this is the last integration in the `integrations` + property to ensure all the generated files are compressed. 2. **Note:** This only works for static exports, SSR does not export assets that can be compressed ahead of time so you need to solve it with middleware. See [this](https://github.com/sondr3/astro-compressor/issues/13#issuecomment-1739721634) for more context and a partial solution. @@ -45,7 +45,7 @@ yarn astro add astro-compressor pnpm astro add astro-compressor ``` -Then, restart the dev server by typing `CTRL-C` and then `npm run dev` in the terminal window that was running Astro. +To compress your files, simply run `pnpm build` and look for the compression messages in the build log. # Usage