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").