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 = { const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
swcMinify: true, swcMinify: true,
sentry: {
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
hideSourceMaps: true,
},
}; };
const sentryWebpackPluginOptions = { const sentryWebpackPluginOptions = {