Skip to content

Conversation

chargome
Copy link
Member

Updated the logic to determine if the instrumentation hook is required or not, as this was wrongly set in next.js 16 apps.

closes #17965

@chargome chargome self-assigned this Oct 21, 2025
Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean!

@chargome chargome merged commit 063ad99 into develop Oct 21, 2025
60 checks passed
@chargome chargome deleted the cg-next-16-instr-warning branch October 21, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

experimental.instrumentationHook is no longer needed, because instrumentation.js is available by default. You can remove it from next.config.ts.

2 participants