output file tracing

The build step where Next.js follows every import from your server code to find exactly which files are needed at runtime.

In more detail

It powers the standalone output: only traced files from node_modules are copied. Files loaded dynamically by path may be missed and need adding with outputFileTracingIncludes.

Related terms

Taught in

References