Skip to content

Commit

Permalink
fix: Changing server bundle remote for nuxt icon
Browse files Browse the repository at this point in the history
trying to fix nuxt/icon#289
  • Loading branch information
mathix420 committed Oct 26, 2024
1 parent ccdef0c commit 24255fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default defineNuxtConfig({

icon: {
mode: "svg",
serverBundle: {
remote: "unpkg",
},
clientBundle: {
// list of icons to include in the client bundle
icons: [
Expand All @@ -46,7 +49,7 @@ export default defineNuxtConfig({
image: {
provider: "cloudflare",
quality: 100,
formats: ["webp", "avif"],
formats: ["avif", "webp"],
cloudflare: {
baseURL: "https://mathix.dev",
},
Expand Down

0 comments on commit 24255fc

Please sign in to comment.