diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 0c8d70f3..9d3da3a7 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -22,6 +22,11 @@ const config: NextConfig = { // (a stale tab, a hydration mismatch) wrote to the log on every load and the reload never // stopped; that locked everyone out on 15.11. Browser errors go to Bugsink instead (PEP-91). logging: { browserToTerminal: false }, + // PEP-144: with the dev MCP server on (the default) Next also writes every browser and server + // log line to .next/dev/logs/next-development.log. On the live site each open tab logged on + // every refresh, the write was picked up as a change, the page refreshed and logged again — + // several rebuilds a second, pages never settled. Off: no log file, no /_next/mcp endpoint. + experimental: { mcpServer: false }, // No Next.js badge and no «Issue» pill on the live site: a product manager must not see dev tools. devIndicators: false, // Dev chunks keep their names between edits; Cloudflare turns the dev server's `no-cache` into a