@@ -31,3 +31,47 @@ module.exports = {
3131 }
3232 ]
3333} ;
34+
35+
36+ // Injected content via Sentry wizard below
37+
38+ const { withSentryConfig } = require ( "@sentry/nextjs" ) ;
39+
40+ module . exports = withSentryConfig (
41+ module . exports ,
42+ {
43+ // For all available options, see:
44+ // https://github.com/getsentry/sentry-webpack-plugin#options
45+
46+ org : "vigneshfixes" ,
47+ project : "projectify" ,
48+ sentryUrl : "https://sentry.io/" ,
49+
50+ // Only print logs for uploading source maps in CI
51+ silent : ! process . env . CI ,
52+
53+ // For all available options, see:
54+ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
55+
56+ // Upload a larger set of source maps for prettier stack traces (increases build time)
57+ widenClientFileUpload : true ,
58+
59+ // Uncomment to route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
60+ // This can increase your server load as well as your hosting bill.
61+ // Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
62+ // side errors will fail.
63+ // tunnelRoute: "/monitoring",
64+
65+ // Hides source maps from generated client bundles
66+ hideSourceMaps : true ,
67+
68+ // Automatically tree-shake Sentry logger statements to reduce bundle size
69+ disableLogger : true ,
70+
71+ // Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.)
72+ // See the following for more information:
73+ // https://docs.sentry.io/product/crons/
74+ // https://vercel.com/docs/cron-jobs
75+ automaticVercelMonitors : true ,
76+ }
77+ ) ;
0 commit comments