Unified · Split
| @@ -1,13 +1,5 @@ | |||
| 1 | import type { NextConfig } from "next"; | 1 | import type { NextConfig } from "next"; |
| 2 | import path from "node:path"; | ||
| 3 | import { fileURLToPath } from "node:url"; | ||
| 4 | |||
| 5 | const workspaceRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "..", ".."); | ||
| 6 | |||
| 7 | const nextConfig: NextConfig = { | 2 | const nextConfig: NextConfig = { |
| 8 | turbopack: { | ||
| 9 | root: workspaceRoot, | ||
| 10 | }, | ||
| 11 | transpilePackages: ["@executor/contracts"], | 3 | transpilePackages: ["@executor/contracts"], |
| 12 | }; | 4 | }; |
| 13 | 5 | ||