fix: bundle all SSR deps to eliminate React instance duplication
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user