import type { NextConfig } from "next"; import path from "path"; const basePath = process.env.NEXT_PUBLIC_BASE_PATH || ''; const nextConfig: NextConfig = { output: 'standalone', basePath: basePath, assetPrefix: basePath, // Disable request logging in production logging: false, // Set the monorepo root explicitly to avoid detecting wrong lockfiles in parent directories turbopack: { root: path.resolve(__dirname, '..'), }, }; export default nextConfig;