Build Options
The Sentry Next.js SDK supports automatic code injection and source map upload during your app's build process using the withSentryConfig
wrapper in next.config.js
. For information on the available configuration options, see Extend Next.js Configuration.
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").
- Package:
- npm:@sentry/nextjs
- Version:
- 7.46.0
- Repository:
- https://github.com/getsentry/sentry-javascript