From 939d4ca8a85607218e2e51b149f954cc2e5ccbdb Mon Sep 17 00:00:00 2001 From: user Date: Mon, 2 Mar 2026 20:26:42 +0200 Subject: [PATCH] welll let's see now if the main is fixed --- apps/main/package.json | 2 ++ apps/main/vite.config.ts | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/main/package.json b/apps/main/package.json index ca13d6b..979518d 100644 --- a/apps/main/package.json +++ b/apps/main/package.json @@ -28,12 +28,14 @@ "@pkg/logic": "workspace:*", "@pkg/result": "workspace:*", "@pkg/settings": "workspace:*", + "argon2": "^0.43.0", "better-auth": "^1.4.20", "date-fns": "^4.1.0", "import-in-the-middle": "^3.0.0", "nanoid": "^5.1.6", "neverthrow": "^8.2.0", "qrcode": "^1.5.4", + "sharp": "^0.34.5", "valibot": "^1.2.0" }, "devDependencies": { diff --git a/apps/main/vite.config.ts b/apps/main/vite.config.ts index 0475e12..1f01308 100644 --- a/apps/main/vite.config.ts +++ b/apps/main/vite.config.ts @@ -8,7 +8,14 @@ export default defineConfig({ plugins: [sveltekit(), tailwindcss(), Icons({ compiler: "svelte" })], ssr: { - external: ["argon2", "node-gyp-build"], + external: [ + "argon2", + "node-gyp-build", + "sharp", + "@img/sharp-linux-x64", + "@img/sharp-linuxmusl-x64", + "@img/sharp-wasm32", + ], }, resolve: {