Skip to content

Commit 24255fc

Browse files
committed
fix: Changing server bundle remote for nuxt icon
trying to fix nuxt/icon#289
1 parent ccdef0c commit 24255fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nuxt.config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export default defineNuxtConfig({
3030

3131
icon: {
3232
mode: "svg",
33+
serverBundle: {
34+
remote: "unpkg",
35+
},
3336
clientBundle: {
3437
// list of icons to include in the client bundle
3538
icons: [
@@ -46,7 +49,7 @@ export default defineNuxtConfig({
4649
image: {
4750
provider: "cloudflare",
4851
quality: 100,
49-
formats: ["webp", "avif"],
52+
formats: ["avif", "webp"],
5053
cloudflare: {
5154
baseURL: "https://mathix.dev",
5255
},

0 commit comments

Comments
 (0)