mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
When we run the RSC validation transform, we might take multiple passes on the same file if the edge runtime is used: once at the RSC layer, another in the edge RSC layer. This means we'll have reported the error twice for the same file. This dedupes errors by tracking the seen, formatted errors and not re-showing them if they've already been tracked.
9 lines
122 B
JavaScript
9 lines
122 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
cacheComponents: true,
|
|
}
|
|
|
|
module.exports = nextConfig
|