fix: broaden SSR noExternal to cover all React-dependent workspace packages
This commit is contained in:
@@ -8,7 +8,14 @@ export default defineConfig({
|
||||
envDir: path.resolve(import.meta.dirname, "../.."),
|
||||
plugins: [tailwindcss(), reactRouter()],
|
||||
ssr: {
|
||||
noExternal: ["@convex-dev/better-auth", "@code/auth", "@code/backend"],
|
||||
noExternal: [
|
||||
"@code/auth",
|
||||
"@code/backend",
|
||||
"@code/ui",
|
||||
"@convex-dev/better-auth",
|
||||
"better-auth",
|
||||
"@better-auth/expo",
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
dedupe: ["convex", "react", "react-dom"],
|
||||
|
||||
Reference in New Issue
Block a user