Commit 8020bd7
Add Sharp codec-specific image encoding defaults
New in Astro 6.1: configure JPEG, WebP, AVIF, and PNG encoding once
globally rather than per-image. Enables mozjpeg for JPEG and bumps
WebP/AVIF effort levels for better compression on built images.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 88cb54d commit 8020bd7
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
122 | 133 | | |
123 | 134 | | |
124 | 135 | | |
| |||
0 commit comments