Update image configuration in astro.config.mjs
The image configuration in the astro.config.mjs file has been extended to include empty domains and AVIF and WebP formats. This adjustment will enhance image handling capabilities and ensure compatibility with a wider range of image formats.
This commit is contained in:
parent
0733181d6d
commit
bae3f6f61e
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ export default defineConfig({
|
||||||
adapter: vercelStatic({
|
adapter: vercelStatic({
|
||||||
imagesConfig: {
|
imagesConfig: {
|
||||||
sizes: [400, 600, 800, 1000, 1200, 1600, 2000],
|
sizes: [400, 600, 800, 1000, 1200, 1600, 2000],
|
||||||
|
domains: [],
|
||||||
|
formats: ["image/avif", "image/webp"],
|
||||||
},
|
},
|
||||||
imageService: true,
|
imageService: true,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue