mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Analagous to the existing compile-path, which records compile times for each path in development, we now record path render times as `render-path`. It corresponds with the value we write to the tty when rendering routes (e.g. `GET / 200 in 228ms (compile: 129ms, render: 99ms)`). This change also adds tests for recording hmr data in the trace file. Test Plan: - CI - Made changes in a test app and verified the trace file included valid entries for these. Confirmed the duration matched what was shown in the cli.
7 lines
96 B
JavaScript
7 lines
96 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {}
|
|
|
|
module.exports = nextConfig
|