Commit 593e108
committed
docs: correct the claim that Turbopack ignores outputFileTracingIncludes
Two documents said Next skips trace collection under Turbopack and
concluded the option therefore never runs. The first half is true and the
conclusion does not follow: `collectBuildTraces` is skipped, but Turbopack
emits the `.nft.json` files and applies the include globs itself.
Measured against a Turbopack build of this app rather than argued from
`next/dist`: `next-server.js.nft.json`, which the `'/**'` key does not
cover, lists three `@swc/helpers` entries and none under `esm/`; a route's
`.nft.json`, which it does cover, lists over a thousand including 324
under `esm/` and the package's `LICENSE`, a file no tracer would follow.
The glob is load-bearing, not dead code, and the gate guarding its pinned
version guards something real.
That reading also produced a false explanation for the missing migration
`.sql` files on Vercel. They are absent because nothing imports them and
nothing lists them, not because the mechanism is unavailable — the
schema-check the installer now does stands on its own arguments, which
were always the better ones. And the reason `output: 'standalone'` broke
the Vercel build is recorded as unestablished rather than explained by a
mechanism that does not hold.
The positive fact is written down beside the glob it explains, because
reading `next/dist` alone leads to the wrong conclusion twice.1 parent 846474b commit 593e108
2 files changed
Lines changed: 22 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
217 | 230 | | |
218 | 231 | | |
219 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
| |||
0 commit comments