Uh oh!
There was an error while loading. Please reload this page.
fix(nextjs): Remove sentry property from returned next config - #5456
fix(nextjs): Remove sentry property from returned next config#5456mitchheddles wants to merge 1 commit into
Conversation
lobsterkatie
commented
Jul 27, 2022
Hi, @mitchheddles. Thanks for the contribution! This is a good idea, but you'll see that some of your tests are failing. This is because of a timing issue, even though I see that you moved The fix is to grab it and store it in a closure around the returned function. I tried to make those changes in this PR, but got an auth error when I tried to push. I've therefore created a new PR combining your original idea and the fix: #5473. Cheers! |
Next recently added config validation vercel/next.js#38498 so
withSentryConfigshould remove the additionalsentryproperty to avoid these warnings.Fixes#5449
Before submitting a pull request, please take a look at our
Contributing guidelines and verify:
yarn lint) & (yarn test).