From 5600b9a457b86208727d6db3bfa6c9a7bdbb7706 Mon Sep 17 00:00:00 2001 From: prototypa Date: Sat, 27 Jan 2024 13:14:53 -0500 Subject: [PATCH] Trying to fix sharp problem with astro-compress for vercel --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 35ac1ec..99ccab4 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@types/lodash.merge": "^4.6.9", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", - "astro-compress": "^2.2.8", + "astro-compress": "2.2.8", "eslint": "^8.56.0", "eslint-plugin-astro": "^0.31.3", "eslint-plugin-jsx-a11y": "^6.8.0", @@ -48,6 +48,14 @@ "tailwindcss": "^3.4.1", "typescript": "^5.3.3" }, + "overrides": { + "astro": { + "sharp": "0.33.0" + }, + "astro-compress": { + "sharp": "0.33.0" + } + }, "engines": { "node": ">=18.14.1" }