-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove the squoosh image service (#11770)
* feat: remove the squoosh image service * fix: build * chore: changeset
- Loading branch information
1 parent
787fed8
commit cfa6a47
Showing
60 changed files
with
30 additions
and
12,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
'@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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
202 changes: 0 additions & 202 deletions
202
packages/astro/src/assets/services/vendor/squoosh/LICENSE
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.