Files
Niklas MischkulnigandGitHub 7fc89cc0f4 Fix config.reactProductionProfiling for Webpack (#90430)
Absolutely no idea how this was passing in the integration test setup

For Webpack, setting it via the config was previously completely ignored and only the `--profile` flag was respected
Turbopack was already working correctly: https://github.com/vercel/next.js/pull/84920
2026-02-24 16:11:41 +01:00

18 lines
317 B
JavaScript

import React from 'react'
const Index = () => {
return (
<React.Profiler
id="hello"
onRender={(...res) => {
window.profileResults = window.profileResults || []
window.profileResults.push(res)
}}
>
<p>hello pages</p>
</React.Profiler>
)
}
export default Index