diff options
Diffstat (limited to '.changeset/tiny-snails-dance.md')
-rw-r--r-- | .changeset/tiny-snails-dance.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/.changeset/tiny-snails-dance.md b/.changeset/tiny-snails-dance.md deleted file mode 100644 index ef25e0459..000000000 --- a/.changeset/tiny-snails-dance.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'astro': minor ---- - -Adds an opt-in way to minify the HTML output. - -Using the `compressHTML` option Astro will remove whitespace from Astro components. This only applies to components written in `.astro` format and happens in the compiler to maximize performance. You can enable with: - -```js -import { defineConfig } from 'astro/config'; - -export default defineConfig({ - compressHTML: true -}); -``` - -Compression occurs both in development mode and in the final build. |