sharp sucks... moving to squoosh
This commit is contained in:
parent
2f8239dec4
commit
5284247c0b
|
@ -1,4 +1,4 @@
|
||||||
import { defineConfig } from "astro/config";
|
import { defineConfig, squooshImageService } from "astro/config";
|
||||||
import astroHashnode from "@matthiesenxyz/astro-hashnode";
|
import astroHashnode from "@matthiesenxyz/astro-hashnode";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
|
@ -9,4 +9,7 @@ export default defineConfig({
|
||||||
verbose: true,
|
verbose: true,
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
image: {
|
||||||
|
service: squooshImageService(),
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue