Commit 72d75eb
fix(docs): drop
The production build died at the end of `next build` with ENOENT on
`apps/docs/.next/next-server.js.nft.json`, so no page merged to `main` was
reaching the site.
That file is opened by `copyTracedFiles` (next/dist/build/utils.js), reached
only from `writeStandaloneDirectory` (next/dist/build/index.js), which Next
calls only under `if (config.output === 'standalone')`. Removing the setting
removes the only code path that performs that read.
Nothing in this repo consumes `.next/standalone`: no Dockerfile, workflow,
script or config references the path, and `docker/Dockerfile` does not build
apps/docs at all. Vercel does its own serverless packaging, so the setting had
no consumer on this deployment target.
Claude-Session: https://claude.ai/code/session_01GawRwpD44VwBDVy3hs77AX
Co-authored-by: Claude <noreply@anthropic.com>output: 'standalone' so the production docs build stops failing (#10652)1 parent e300b28 commit 72d75eb
2 files changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
10 | 22 | | |
11 | 23 | | |
12 | 24 | | |
| |||
0 commit comments