mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
cfa6a47ac7
* feat: remove the squoosh image service * fix: build * chore: changeset
802 B
802 B
@astrojs/vercel | @astrojs/node | astro |
---|---|---|
major | major | major |
Removed support for the Squoosh image service. As the underlying library libsquoosh
is no longer maintained, and the image service sees very little usage we have decided to remove it from Astro.
Our recommendation is to use the base Sharp image service, which is more powerful, faster, and more actively maintained.
- import { squooshImageService } from "astro/config";
import { defineConfig } from "astro/config";
export default defineConfig({
- image: {
- service: squooshImageService()
- }
});
If you are using this service, and cannot migrate to the base Sharp image service, a third-party extraction of the previous service is available here: https://github.com/Princesseuh/astro-image-service-squoosh