0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
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.