Skip to content
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

fix(nextjs): Don't show warning about devtool option #14552

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Dec 3, 2024

I wrongfully assumend the devtool option would default to undefined because I missed this line in the Next.js code /~https://github.com/lforst/nextjs-fork/blob/36b0ff5074c441c55a862c14f0b6a45f0e789981/packages/next/src/build/webpack/config/blocks/base.ts#L61 and also stupidly had the devtool option set in my test app.

This PR makes it so we don't unnecessarily show the warning if people have not disabled source maps.

@lforst lforst requested a review from mydea December 3, 2024 14:31
Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
@lforst lforst merged commit 256cf9f into develop Dec 3, 2024
51 checks passed
@lforst lforst deleted the lforst-fix-nextjs-warning branch December 3, 2024 15:30
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.

3 participants