You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`[@sentry/nextjs - ${runtimePrefix}] 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 true or undefined.`,
345
+
);
346
+
}
347
+
348
+
// TODO(v9): Remove this warning and print warning in case source map deletion is auto configured
"[@sentry/nextjs] The Sentry SDK has enabled source map generation for your Next.js app. If you don't want to serve Source Maps to your users, either set the `deleteSourceMapsAfterUpload` option to true, or manually delete the source maps after the build. In future Sentry SDK versions `deleteSourceMapsAfterUpload` will default to `true`.",
353
+
);
354
+
}
355
+
339
356
// `hidden-source-map` produces the same sourcemaps as `source-map`, but doesn't include the `sourceMappingURL`
340
357
// comment at the bottom. For folks who aren't publicly hosting their sourcemaps, this is helpful because then
341
358
// the browser won't look for them and throw errors into the console when it can't find them. Because this is a
342
359
// front-end-only problem, and because `sentry-cli` handles sourcemaps more reliably with the comment than
343
360
// without, the option to use `hidden-source-map` only applies to the client-side build.
0 commit comments