From 90993169e287cf2ed451ce555c545a652ba7ba4a Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 28 Feb 2025 09:37:21 +0100 Subject: [PATCH] Try to fix `bun run build` --- front/app/translations+api.ts | 2 +- front/vite.config.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/front/app/translations+api.ts b/front/app/translations+api.ts index c33b4273..797b3668 100644 --- a/front/app/translations+api.ts +++ b/front/app/translations+api.ts @@ -1,4 +1,4 @@ -import { supportedLanguages } from "~/providers/translations.web.ssr"; +import { supportedLanguages } from "~/providers/translations.compile"; export default (): Response => { return Response.json(supportedLanguages); diff --git a/front/vite.config.ts b/front/vite.config.ts index 9d2945ad..181229f4 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -20,6 +20,9 @@ export default { }, plugins: [ one({ + web: { + defaultRenderMode: "ssr", + }, deps: { "@expo/html-elements": { "**/*.js": ["jsx"],