minor: configure image formats in nuxt.config.ts

This commit is contained in:
2026-01-30 12:10:30 -05:00
parent eea020b136
commit 4079e4ecfb
2 changed files with 3 additions and 2 deletions

View File

@@ -102,8 +102,10 @@ export default defineNuxtConfig({
},
image: {
...isDev ? {} : { provider: "cloudflare", cloudflare: { baseURL: "/" } },
provider: isDev ? "ipx" : "cloudflare",
cloudflare: { baseURL: `${siteUrl}/` },
domains: [wpDomain],
format: ["avif", "webp"],
},
robots: {