diff --git a/app/(customer)/dashboard/(organization)/projects/new/page.tsx b/app/(customer)/dashboard/(organization)/projects/new/page.tsx index 55580a4a..7cfb3f1d 100644 --- a/app/(customer)/dashboard/(organization)/projects/new/page.tsx +++ b/app/(customer)/dashboard/(organization)/projects/new/page.tsx @@ -8,7 +8,6 @@ import {getOrganization} from "@/lib/auth/auth"; import * as drizzleDb from "@/db"; import {DatabaseWith} from "@/db/schema/07_database"; -export const dynamic = 'force-dynamic'; export default async function RoutePage(props: PageParams<{}>) { diff --git a/app/(customer)/dashboard/(organization)/projects/page.tsx b/app/(customer)/dashboard/(organization)/projects/page.tsx index f4b04ca4..c0539e24 100644 --- a/app/(customer)/dashboard/(organization)/projects/page.tsx +++ b/app/(customer)/dashboard/(organization)/projects/page.tsx @@ -10,7 +10,6 @@ import {notFound} from "next/navigation"; import {getActiveMember, getOrganization} from "@/lib/auth/auth"; import {EmptyStatePlaceholder} from "@/components/wrappers/common/empty-state-placeholder"; -export const dynamic = 'force-dynamic'; export default async function RoutePage(props: PageParams<{}>) { diff --git a/app/(customer)/dashboard/(organization)/settings/page.tsx b/app/(customer)/dashboard/(organization)/settings/page.tsx index c03b185c..a7836f4c 100644 --- a/app/(customer)/dashboard/(organization)/settings/page.tsx +++ b/app/(customer)/dashboard/(organization)/settings/page.tsx @@ -11,7 +11,6 @@ import { SettingsOrganizationMembersTable } from "@/components/wrappers/dashboard/settings/settings-organization-members-table"; -export const dynamic = 'force-dynamic'; export default async function RoutePage(props: PageParams<{ slug: string }>) { const organization = await getOrganization({}); diff --git a/app/(customer)/dashboard/(organization)/statistics/page.tsx b/app/(customer)/dashboard/(organization)/statistics/page.tsx index 5eb1b5cd..5851b177 100644 --- a/app/(customer)/dashboard/(organization)/statistics/page.tsx +++ b/app/(customer)/dashboard/(organization)/statistics/page.tsx @@ -10,7 +10,6 @@ import * as drizzleDb from "@/db"; import {getOrganization} from "@/lib/auth/auth"; import {Building2, DatabaseBackup, Folder, RefreshCcw} from "lucide-react"; -export const dynamic = 'force-dynamic'; export default async function RoutePage(props: PageParams<{}>) { const organization = await getOrganization({}); diff --git a/package.json b/package.json index 8b13c662..7ddc3460 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev --turbopack -p 8887", - "build": "next build", + "build": "next build --experimental-build-mode compile", "start": "next start", "lint": "next lint", "email": "email dev",