Summary
next.config.ts includes a BuildStatsPlugin that runs in production builds and may emit a .next/ analysis payload — overhead around 5%.
Affected area
next.config.ts, line ~145
Steps to reproduce
Inspect the plugin — console.log(stats) runs for every build.
Expected behaviour
Disable the plugin in production; enable only when ANALYZE=true.
Acceptance criteria
Filed automatically as part of the PropChain code-review sweep.
Summary
next.config.tsincludes aBuildStatsPluginthat runs in production builds and may emit a.next/analysis payload — overhead around 5%.Affected area
next.config.ts, line ~145Steps to reproduce
Inspect the plugin —
console.log(stats)runs for every build.Expected behaviour
Disable the plugin in production; enable only when
ANALYZE=true.Acceptance criteria
ANALYZE.Filed automatically as part of the PropChain code-review sweep.