mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: init sentry monitoring
This commit is contained in:
parent
43d2b469a4
commit
137a909347
13 changed files with 1064 additions and 30 deletions
|
|
@ -1,3 +1,9 @@
|
|||
// This file sets a custom webpack configuration to use your Next.js app
|
||||
// with Sentry.
|
||||
// https://nextjs.org/docs/api-reference/next.config.js/introduction
|
||||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
|
||||
const { withSentryConfig } = require('@sentry/nextjs');
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: false,
|
||||
|
|
@ -11,3 +17,9 @@ const nextConfig = {
|
|||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
module.exports = withSentryConfig(
|
||||
module.exports,
|
||||
{ silent: true },
|
||||
{ hideSourcemaps: true },
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue