Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other:
@sentry/nextjs
Version:
6.7.2
Description
Utilizing https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/ withSentryConfig
is returned directly into module.exports. However it's a function at this level and needs to be executed when sent to module.exports to actually send the settings to NextJS. Otherwise it's just a function that nextjs never exports. This actually ends up breaking any settings anyone has added in Next.config.js because once withSentryConfig does this then nextjs sees theres no webpack key on the object sent to module.exports