astro/.changeset/four-houses-compete.md
Erika c0de7a7b0f feat: make Sharp the default image service (#7908)
* feat: make Sharp the default image service

* chore: lockfile
2023-08-08 11:02:51 +01:00

538 B

astro
major

Sharp is now the default image service used for astro:assets. If you would prefer to still use Squoosh, you can update your config with the following:

import { defineConfig, squooshImageService } from "astro/config";

// https://astro.build/config
export default defineConfig({
  image: {
    service: squooshImageService(),
  }
})

However, not only do we recommend using Sharp as it is faster and more reliable, it is also highly likely that the Squoosh service will be removed in a future release.