Browse Source

feat: 去掉图片转avif

reaper 2 ngày trước cách đây
mục cha
commit
fd120db805
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      nuxt.config.ts

+ 2 - 1
nuxt.config.ts

@@ -9,7 +9,8 @@ export default defineNuxtConfig({
     localApiEndpoint: '/nuxt-icon'
   },
   image: {
-    format: ['avif', 'webp', 'png']
+    // format: ['avif', 'webp', 'png']
+    format: ['webp', 'png']
   }
   // vite: {
   //   css: {