Capítulo 427 de 456
Experimental option enabling per-metric attribution data for Web Vitals, to help pinpoint the exact source (element, resource URL) of a Core Web Vitals problem like CLS or LCP.
experimental.webVitalsAttribution: array of web-vitals metric names (e.g. ['CLS', 'LCP']) to enable attribution for; disabled by default.PerformanceEventTiming, PerformanceNavigationTiming, PerformanceResourceTiming to identify the biggest contributor to the score.NextWebVitalsMetric type from web-vitals.module.exports = {
experimental: {
webVitalsAttribution: ['CLS', 'LCP'],
},
}