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 <noreply@anthropic.com>
This commit is contained in:
Buğra Canata
2026-01-17 20:11:47 +03:00
parent e05f99a0d2
commit cebcfd4e78
+1 -1
View File
@@ -59,7 +59,7 @@ export default defineConfig({
removeAttributeQuotes: false,
},
},
Image: true,
Image: false,
JavaScript: true,
SVG: true,
Logger: 1,