Skip to content

Conversation

@lforst
Copy link
Contributor

@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
@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