From 8209c6b617881960920956bfcf06fa0534ef497f Mon Sep 17 00:00:00 2001 From: prototypa Date: Sat, 27 Jan 2024 13:26:48 -0500 Subject: [PATCH] Trying to fix sharp problem with astro-compress for vercel --- package.json | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 450775d..4430dce 100644 --- a/package.json +++ b/package.json @@ -44,21 +44,13 @@ "prettier": "^3.2.4", "prettier-plugin-astro": "^0.13.0", "reading-time": "^1.5.0", + "sharp": "0.33.2", "tailwind-merge": "^2.2.1", "tailwindcss": "^3.4.1", "typescript": "^5.3.3" }, - "overrides": { - "astro": { - "sharp": "0.33.0" - }, - "astro-compress": { - "sharp": "0.33.0" - } - }, - "resolutions": { - "astro/sharp": "0.33.0", - "astro-compress/sharp": "0.33.0" + "optionalDependencies": { + "@img/sharp-linux-x64": "0.33.2" }, "engines": { "node": ">=18.14.1"