mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[docs] update compressHTML entry for readability (#11345)
This commit is contained in:
parent
84be17fdf6
commit
9176cf135b
1 changed files with 6 additions and 4 deletions
|
@ -751,10 +751,12 @@ export interface AstroUserConfig {
|
||||||
* @default `true`
|
* @default `true`
|
||||||
* @description
|
* @description
|
||||||
*
|
*
|
||||||
* 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.
|
* This is an option to minify your HTML output and reduce the size of your HTML files.
|
||||||
* 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.
|
* By default, Astro removes whitespace from your HTML, including line breaks, from `.astro` components in a lossless manner.
|
||||||
* To disable HTML compression, set the compressHTML flag to false.
|
* Some whitespace may be kept as needed to preserve the visual rendering of your HTML. This occurs both in development mode and in the final build.
|
||||||
|
*
|
||||||
|
* To disable HTML compression, set `compressHTML` to false.
|
||||||
*
|
*
|
||||||
* ```js
|
* ```js
|
||||||
* {
|
* {
|
||||||
|
|
Loading…
Reference in a new issue