From 24255fc8f4890f3400737a75fc3f2f84fdd04b46 Mon Sep 17 00:00:00 2001 From: Arnaud Gissinger Date: Sat, 26 Oct 2024 16:39:02 +0200 Subject: [PATCH] fix: Changing server bundle remote for nuxt icon trying to fix https://github.com/nuxt/icon/issues/289 --- nuxt.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 2b9c67f..508ba96 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -30,6 +30,9 @@ export default defineNuxtConfig({ icon: { mode: "svg", + serverBundle: { + remote: "unpkg", + }, clientBundle: { // list of icons to include in the client bundle icons: [ @@ -46,7 +49,7 @@ export default defineNuxtConfig({ image: { provider: "cloudflare", quality: 100, - formats: ["webp", "avif"], + formats: ["avif", "webp"], cloudflare: { baseURL: "https://mathix.dev", },