We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b4da3 commit 062c6e7Copy full SHA for 062c6e7
next.config.mjs
@@ -75,6 +75,6 @@ nextConfig = withRoutes(nextConfig);
75
nextConfig = process.env.MONOREPO ? withTM(nextConfig) : nextConfig;
76
nextConfig = process.env.SENTRY_AUTH_TOKEN
77
? withSentryConfig(nextConfig, sentryWebpackPluginOptions)
78
- : (delete nextConfig.sentry, sentry); // Need to remove sentry config if not using in order to suppress warning
+ : (delete nextConfig.sentry, nextConfig); // Need to remove sentry config if not using in order to suppress warning
79
80
export default nextConfig;
0 commit comments