Docs: Instructions on how to generate turbopack trace file (#64325)

Co-authored-by: Balázs Orbán <info@balazsorban.com>
This commit is contained in:
Delba de Oliveira 2024-04-11 10:55:18 +01:00 committed by GitHub
parent 6224b9e29f
commit 38850bf1ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,3 +54,9 @@ These features are currently not supported:
- We are currently not planning to support Yarn PnP in Next.js with Turbopack. - We are currently not planning to support Yarn PnP in Next.js with Turbopack.
- [`experimental.urlImports`](/docs/app/api-reference/next-config-js/urlImports) - [`experimental.urlImports`](/docs/app/api-reference/next-config-js/urlImports)
- We are currently not planning to support `experimental.urlImports` in Next.js with Turbopack. - We are currently not planning to support `experimental.urlImports` in Next.js with Turbopack.
## Generating Trace Files
Trace files allow the Next.js team to investigate and improve performance metrics and memory usage. To generate a trace file, append `NEXT_TURBOPACK_TRACING=1` to the `next dev --turbo` command, this will generate a `.next/trace.log` file.
When reporting issues related to Turbopack performance and memory usage, please include the trace file in your [GitHub](https://github.com/vercel/next.js) issue.