next.js
60422e65 - [.next/trace] Serialize trace info across workers to preserve .next/trace with webpackBuildWorker (#57761)

Commit
2 years ago
[.next/trace] Serialize trace info across workers to preserve .next/trace with webpackBuildWorker (#57761) This PR sets up the webpack build workers (webpackBuildWorker: true) to serialize debug trace information across the worker boundary so that it can appear in the final .next/trace file at the end of the build. Currently, when webpackBuildWorker is turned on, all traces that appear under the webpack compilation are lost. After this PR, they will appear in the trace file just like when the workers are not enabled.
Author
Parents
Loading