#Warning thrown during NextJS build for Sourcemap generation

4 messages · Page 1 of 1 (latest)

mighty glen
#

I am getting an warning during building of a nextjs app with Sentry:

You disabled sourcemaps with the Webpack `devtool` option. Currently, the Sentry SDK will override this option to generate sourcemaps. In future versions, the Sentry SDK will not override the `devtool` option if you explicitly disable it. If you want to generate and upload sourcemaps please set the `devtool` option to 'hidden-source-map' or undefined.

The thing is, I cant find anywhere where I can set this option. Does anyone know?

kindred sable
#

Wait I may have messed this up. Would you mind sharing your next.config.js?

mighty glen