From df99e7d38afd7194cb05c7a06065b59fb23b4ad3 Mon Sep 17 00:00:00 2001 From: Maya Date: Wed, 29 Oct 2025 09:11:31 +0300 Subject: [PATCH] fix: force build translations on build for some reason, prod has translation issues where seemingly they use outdated translations, causing half of the new translations to not appear. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1d2d8d4..53dbeac 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "dev": "vite dev", - "build": "vite build", + "build": "paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide && vite build", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",