import type { NextConfig } from "next"; const nextConfig: NextConfig = { // Pin the workspace root so stray lockfiles in parent directories // don't confuse Turbopack's project detection. turbopack: { root: __dirname }, }; export default nextConfig;