mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
25 lines
1.2 KiB
Markdown
25 lines
1.2 KiB
Markdown
|
# @astrojs/node
|
||
|
|
||
|
## 1.0.0
|
||
|
|
||
|
### Major Changes
|
||
|
|
||
|
- [#11679](https://github.com/withastro/astro/pull/11679) [`ea71b90`](https://github.com/withastro/astro/commit/ea71b90c9c08ddd1d3397c78e2e273fb799f7dbd) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds stable support for `astro:env`
|
||
|
|
||
|
- [#11770](https://github.com/withastro/astro/pull/11770) [`cfa6a47`](https://github.com/withastro/astro/commit/cfa6a47ac7a541f99fdad46a68d0cca6e5816cd5) Thanks [@Princesseuh](https://github.com/Princesseuh)! - 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
|