Build Options
Learn about configuration options used in your Next.js configuration to control your app's build process.
The Sentry Next.js SDK supports automatic code injection and source map upload during your app's build process using the withSentryConfig
wrapper in your Next.js configuration file (next.config.js
or next.config.mjs
). 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!) or 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!) or suggesting an update ("yeah, this would be better").