diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index c4992e71b..1a6f07ef4 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -1,7 +1,16 @@ +import path from "node:path" +import { fileURLToPath } from "node:url" import { withSentryConfig } from "@sentry/nextjs" import type { NextConfig } from "next" +const appDir = path.dirname(fileURLToPath(import.meta.url)) +const monorepoRoot = path.join(appDir, "../..") + const nextConfig: NextConfig = { + turbopack: { + root: monorepoRoot, + }, + outputFileTracingRoot: monorepoRoot, typescript: { ignoreBuildErrors: true, },