From 05a3baaac3b39f1d8a5f3eff2af61f816f580120 Mon Sep 17 00:00:00 2001 From: -Puter <22245429+puterhimself@users.noreply.github.com> Date: Tue, 28 Jul 2026 03:27:41 +0530 Subject: [PATCH] fix: bundle all SSR deps to eliminate React instance duplication --- apps/web/vite.config.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts index 1a46b46..3190b68 100644 --- a/apps/web/vite.config.ts +++ b/apps/web/vite.config.ts @@ -8,14 +8,7 @@ export default defineConfig({ envDir: path.resolve(import.meta.dirname, "../.."), plugins: [tailwindcss(), reactRouter()], ssr: { - noExternal: [ - "@code/auth", - "@code/backend", - "@code/ui", - "@convex-dev/better-auth", - "better-auth", - "@better-auth/expo", - ], + noExternal: true, }, resolve: { dedupe: ["convex", "react", "react-dom"],