Skip to content

Commit fbc8774

Browse files
committed
Fix Vercel monorepo Turbopack root
1 parent 050a90c commit fbc8774

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/frontend/next.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { fileURLToPath } from "node:url";
22

33
import type { NextConfig } from "next";
44

5-
const frontendRoot = fileURLToPath(new URL(".", import.meta.url));
5+
const workspaceRoot = fileURLToPath(new URL("../..", import.meta.url));
66

77
const nextConfig: NextConfig = {
88
reactStrictMode: true,
9-
outputFileTracingRoot: frontendRoot,
9+
outputFileTracingRoot: workspaceRoot,
1010
turbopack: {
11-
root: frontendRoot,
11+
root: workspaceRoot,
1212
},
1313
};
1414

0 commit comments

Comments
 (0)