sentry hide source maps

This commit is contained in:
Gustavo Mauricio 2022-09-18 08:19:35 +01:00
parent a343ccc652
commit cadb2a30a2

View File

@ -9,6 +9,10 @@ const { withSentryConfig } = require("@sentry/nextjs");
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
sentry: {
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
hideSourceMaps: true,
},
};
const sentryWebpackPluginOptions = {