File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ import { withSentryConfig } from "@sentry/nextjs";
1212const withNextIntl = createNextIntlPlugin ( )
1313
1414const isProd = process . env . NODE_ENV === 'production'
15- /* const sentryConfig = {
15+ const sentryConfig = {
1616 org : 'equinor' ,
1717 project : 'equinor-com' ,
1818 silent : true ,
1919 disableLogger : true ,
2020 widenClientFileUpload : true ,
2121 disableClientWebpackPlugin : ! isProd ,
2222 disableServerWebpackPlugin : ! isProd ,
23- } */
23+ }
2424
2525//TODO: Find the Redirect type from config that is not in /dist.
2626export type ConfigRedirect = {
@@ -116,9 +116,4 @@ const nextConfig: NextConfig = withNextIntl({
116116 } ,
117117} )
118118
119- export default withSentryConfig ( nextConfig , {
120- org : 'equinor' ,
121- project : 'equinor-com' ,
122- silent : ! process . env . CI ,
123- disableLogger : true ,
124- } )
119+ export default withSentryConfig ( nextConfig , sentryConfig )
You can’t perform that action at this time.
0 commit comments