import { fileURLToPath } from "node:url"; import path from "node:path"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); /** @type {import('next').NextConfig} */ const nextConfig = { output: "standalone", transpilePackages: ["@otm/account-panel"], // Pin the standalone trace root to this app (a stray lockfile in $HOME made // Next infer the wrong workspace root, which can drop files from the // standalone bundle). Same guard rpo carries. outputFileTracingRoot: __dirname, }; export default nextConfig;