Skip to content

feat(nextjs): Add disableSentryWebpackConfig flag #17013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

chargome
Copy link
Member

@chargome chargome commented Jul 15, 2025

closes #16091

Adds a new disableSentryWebpackConfig build option that allows users to disable automatic injection of Sentry's webpack configuration.

If Turbopack is detected or the flag is set, we just forward the user's original webpack config.

@chargome chargome self-assigned this Jul 15, 2025
@chargome chargome requested a review from RulaKhaled July 15, 2025 11:20
@chargome chargome merged commit 10d5454 into develop Jul 15, 2025
55 checks passed
@chargome chargome deleted the cg-next-disableSentryWebpackConfig branch July 15, 2025 12:22
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.

NextJs 15.3 shows warning after adding Sentry
2 participants