From cebcfd4e786420dbd93f90285675d49c85a56fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bu=C4=9Fra=20Canata?= Date: Sat, 17 Jan 2026 20:11:47 +0300 Subject: [PATCH] Fix Netlify build: disable image compression Disabling Image compression in astro-compress to fix build error: "pngload: libspng read error" The error was caused by a corrupted PNG file that Sharp couldn't process. Images will still be served normally, just not recompressed during build. Co-Authored-By: Claude --- astro.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astro.config.ts b/astro.config.ts index cb5d6c0..2b06363 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -59,7 +59,7 @@ export default defineConfig({ removeAttributeQuotes: false, }, }, - Image: true, + Image: false, JavaScript: true, SVG: true, Logger: 1,