sharp sucks... moving to squoosh

This commit is contained in:
Adam Matthiesen 2024-03-11 06:25:02 -07:00
parent 2f8239dec4
commit 5284247c0b
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { defineConfig } from "astro/config";
import { defineConfig, squooshImageService } from "astro/config";
import astroHashnode from "@matthiesenxyz/astro-hashnode";
// https://astro.build/config
@ -9,4 +9,7 @@ export default defineConfig({
verbose: true,
})
],
image: {
service: squooshImageService(),
}
});