[WEB-5386] refactor: update all apps to use react-router for development and enable SSR for space app. (#8095)

This commit is contained in:
Prateek Shourya 2025-11-11 14:08:42 +05:30 committed by GitHub
parent 4ae0763d0f
commit 433b5a4fe1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 358 additions and 1109 deletions

View file

@ -1,8 +1,11 @@
import type { Config } from "@react-router/dev/config";
import { joinUrlPath } from "@plane/utils";
const basePath = joinUrlPath(process.env.NEXT_PUBLIC_ADMIN_BASE_PATH ?? "", "/") ?? "/";
export default {
appDirectory: "app",
basename: process.env.NEXT_PUBLIC_ADMIN_BASE_PATH,
basename: basePath,
// Admin runs as a client-side app; build a static client bundle only
ssr: false,
} satisfies Config;