From c565012a7ce9690d0bc795bb0a676b8894dd7919 Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Fri, 6 Jun 2025 23:28:27 +1000 Subject: [PATCH] not use Sharp --- astro.config.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 8e50edc..4a5144f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,4 +1,4 @@ -import { defineConfig } from "astro/config"; +import { defineConfig, passthroughImageService } from "astro/config"; import svelte from "@astrojs/svelte"; @@ -20,4 +20,9 @@ export default defineConfig({ vite: { plugins: [tailwindcss()], }, + + image: { + service: passthroughImageService(), + }, + }); \ No newline at end of file