mirror of
https://github.com/withastro/astro.git
synced 2025-01-23 19:02:14 -05:00
parent
ce310f8292
commit
e79859129b
1 changed files with 5 additions and 2 deletions
|
@ -750,8 +750,11 @@ export interface AstroUserConfig {
|
|||
* @type {boolean}
|
||||
* @default `true`
|
||||
* @description
|
||||
* This is an option to minify your HTML output and reduce the size of your HTML files. By default, Astro removes all whitespace from your HTML, including line breaks, from `.astro` components. This occurs both in development mode and in the final build.
|
||||
* To disable HTML compression, set the `compressHTML` flag to `false`.
|
||||
*
|
||||
* This is an option to minify your HTML output and reduce the size of your HTML files, occuring both in development mode and in the final build.
|
||||
* By default, Astro removes whitespace from your HTML, including line breaks, from .astro components in a lossless manner.
|
||||
* It is important to note that some whitespace may be kept to preserve the visual rendering of your HTML.
|
||||
* To disable HTML compression, set the compressHTML flag to false.
|
||||
*
|
||||
* ```js
|
||||
* {
|
||||
|
|
Loading…
Add table
Reference in a new issue