1
- import { withSentryConfig } from '@sentry/nextjs' ;
2
- /** @type {import('next').NextConfig } */
3
- const nextConfig = { } ;
4
-
5
- export default withSentryConfig ( nextConfig , {
6
- // For all available options, see:
7
- // https://github.com/getsentry/sentry-webpack-plugin#options
8
-
9
- // Suppresses source map uploading logs during build
10
- silent : true ,
11
- org : "warriorborgs-3256" ,
12
- project : "javascript-nextjs" ,
13
- } , {
14
- // For all available options, see:
15
- // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
16
-
17
- // Upload a larger set of source maps for prettier stack traces (increases build time)
18
- widenClientFileUpload : true ,
19
-
20
- // Transpiles SDK to be compatible with IE11 (increases bundle size)
21
- transpileClientSDK : true ,
1
+ import { withSentryConfig } from "@sentry/nextjs" ;
22
2
23
- // Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
24
- tunnelRoute : "/monitoring" ,
25
-
26
- // Hides source maps from generated client bundles
27
- hideSourceMaps : true ,
28
-
29
- // Automatically tree-shake Sentry logger statements to reduce bundle size
30
- disableLogger : true ,
31
-
32
- // Enables automatic instrumentation of Vercel Cron Monitors.
33
- // See the following for more information:
34
- // https://docs.sentry.io/product/crons/
35
- // https://vercel.com/docs/cron-jobs
36
- automaticVercelMonitors : true ,
37
- } ) ;
3
+ /** @type {import('next').NextConfig } */
4
+ const nextConfig = {
5
+ experimental : { missingSuspenseWithCSRBailout : false } ,
6
+ } ;
7
+
8
+ export default withSentryConfig (
9
+ nextConfig ,
10
+ {
11
+ // For all available options, see:
12
+ // https://github.com/getsentry/sentry-webpack-plugin#options
13
+
14
+ // Suppresses source map uploading logs during build
15
+ silent : true ,
16
+ org : "warriorborgs-3256" ,
17
+ project : "javascript-nextjs" ,
18
+ } ,
19
+ {
20
+ // For all available options, see:
21
+ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
22
+
23
+ // Upload a larger set of source maps for prettier stack traces (increases build time)
24
+ widenClientFileUpload : true ,
25
+
26
+ // Transpiles SDK to be compatible with IE11 (increases bundle size)
27
+ transpileClientSDK : true ,
28
+
29
+ // Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
30
+ tunnelRoute : "/monitoring" ,
31
+
32
+ // Hides source maps from generated client bundles
33
+ hideSourceMaps : true ,
34
+
35
+ // Automatically tree-shake Sentry logger statements to reduce bundle size
36
+ disableLogger : true ,
37
+
38
+ // Enables automatic instrumentation of Vercel Cron Monitors.
39
+ // See the following for more information:
40
+ // https://docs.sentry.io/product/crons/
41
+ // https://vercel.com/docs/cron-jobs
42
+ automaticVercelMonitors : true ,
43
+ } ,
44
+ ) ;
0 commit comments