From b331353615b40d669f30c396a5dc3b98f7d8459e Mon Sep 17 00:00:00 2001 From: Kaiohz Date: Thu, 12 Mar 2026 08:01:10 +0100 Subject: [PATCH] feat: Configure image service and remove sharp dependency from project --- astro.config.mjs | 3 +++ package.json | 3 +-- pnpm-lock.yaml | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 2adbd3e..bf8fc44 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -9,6 +9,9 @@ import icon from "astro-icon"; // https://astro.build/config export default defineConfig({ + image: { + service: { entrypoint: "astro/assets/services/noop" }, + }, site: "https://unispace.app", // i18n configuration must match src/config/translations.json.ts i18n: { diff --git a/package.json b/package.json index 5527d93..b7754f6 100644 --- a/package.json +++ b/package.json @@ -38,12 +38,11 @@ "swiper": "^12.1.2", "tailwind-merge": "3.4.0", "tailwind-variants": "3.2.2", - "sharp": "^0.34.2", "tailwindcss": "4.1.17", "tw-animate-css": "1.4.0" }, "pnpm": { - "onlyBuiltDependencies": ["sharp", "esbuild"] + "onlyBuiltDependencies": ["esbuild"] }, "devDependencies": { "@eslint/js": "^9.36.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8265759..7ad9bdb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,9 +71,6 @@ importers: react-dom: specifier: 19.2.0 version: 19.2.0(react@19.2.0) - sharp: - specifier: ^0.34.2 - version: 0.34.5 swiper: specifier: ^12.1.2 version: 12.1.2