mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
23 lines
802 B
Markdown
23 lines
802 B
Markdown
|
---
|
||
|
'@astrojs/vercel': major
|
||
|
'@astrojs/node': major
|
||
|
'astro': 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.
|
||
|
|
||
|
```diff
|
||
|
- 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
|