not use Sharp

This commit is contained in:
liyunze 2025-06-06 23:28:27 +10:00
parent 3a4dc2f5e6
commit c565012a7c

View file

@ -1,4 +1,4 @@
import { defineConfig } from "astro/config"; import { defineConfig, passthroughImageService } from "astro/config";
import svelte from "@astrojs/svelte"; import svelte from "@astrojs/svelte";
@ -20,4 +20,9 @@ export default defineConfig({
vite: { vite: {
plugins: [tailwindcss()], plugins: [tailwindcss()],
}, },
image: {
service: passthroughImageService(),
},
}); });