From 5284247c0bb47bdceb1cba953249678b472bf715 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Mon, 11 Mar 2024 06:25:02 -0700 Subject: [PATCH] sharp sucks... moving to squoosh --- playground/astro.config.mts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playground/astro.config.mts b/playground/astro.config.mts index fd966d1..483536f 100644 --- a/playground/astro.config.mts +++ b/playground/astro.config.mts @@ -1,4 +1,4 @@ -import { defineConfig } from "astro/config"; +import { defineConfig, squooshImageService } from "astro/config"; import astroHashnode from "@matthiesenxyz/astro-hashnode"; // https://astro.build/config @@ -9,4 +9,7 @@ export default defineConfig({ verbose: true, }) ], + image: { + service: squooshImageService(), + } });