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:
+1
-1
@@ -59,7 +59,7 @@ export default defineConfig({
|
|||||||
removeAttributeQuotes: false,
|
removeAttributeQuotes: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Image: true,
|
Image: false,
|
||||||
JavaScript: true,
|
JavaScript: true,
|
||||||
SVG: true,
|
SVG: true,
|
||||||
Logger: 1,
|
Logger: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user