feat(frontend): add sentry
This commit is contained in:
parent
4a8e1bb54f
commit
220e8fa71d
10 changed files with 617 additions and 25 deletions
|
@ -1,3 +1,5 @@
|
|||
const { withSentryConfig } = require("@sentry/nextjs");
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
|
@ -10,6 +12,13 @@ const nextConfig = {
|
|||
},
|
||||
];
|
||||
},
|
||||
sentry: {
|
||||
hideSourceMaps: true,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
const sentryWebpackPluginOptions = {
|
||||
silent: true, // Suppresses all logs
|
||||
};
|
||||
|
||||
module.exports = withSentryConfig(nextConfig, sentryWebpackPluginOptions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue