mirror of
https://github.com/makeplane/plane.git
synced 2025-12-16 20:07:56 +01:00
12 lines
359 B
TypeScript
12 lines
359 B
TypeScript
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: basePath,
|
|
// Admin runs as a client-side app; build a static client bundle only
|
|
ssr: false,
|
|
} satisfies Config;
|