| 1 | import path from "node:path"; |
| 2 | |
| 3 | import { createMDX } |
| 4 | import type { NextConfig |
| 5 | |
| 6 | const nextConfig: NextConfig |
| 7 | // Emits `.next/standalone` with only the server and its used dependencies. |
| 8 | output: "standalone", |
| 9 | // The app lives in a workspace, so tracing has to start at the repo root. |
| 10 | outputFileTracingRoot: path.join |
| 11 | }; |
| 12 | |
| 13 | export default createMDX()(nextConfig |