From c98f66b35268f3292038f7cf98725f46fb3d02b4 Mon Sep 17 00:00:00 2001 From: Dmitriy M Date: Thu, 3 Nov 2022 14:15:44 +0300 Subject: [PATCH] [#529] comment sentry config --- .gitignore | 3 ++- next.config.js | 36 +++++++++++++++++++++++------------- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 43ff915bd..551d92d28 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,5 @@ yarn-error.log* .env*.local # Sentry -.sentryclirc \ No newline at end of file +.sentryclirc +.vercel diff --git a/next.config.js b/next.config.js index 4aea80768..0fdc87ab0 100644 --- a/next.config.js +++ b/next.config.js @@ -5,18 +5,28 @@ const sentryWebpackPluginOptions = { silent: true, }; -module.exports = withSentryConfig( - { - i18n, - trailingSlash: true, - experimental: { - amp: { - skipValidation: true, - }, - }, - sentry: { - hideSourceMaps: true, +// module.exports = withSentryConfig( +// { +// i18n, +// trailingSlash: true, +// experimental: { +// amp: { +// skipValidation: true, +// }, +// }, +// sentry: { +// hideSourceMaps: true, +// }, +// }, +// sentryWebpackPluginOptions, +// ); + +module.exports = { + i18n, + trailingSlash: true, + experimental: { + amp: { + skipValidation: true, }, }, - sentryWebpackPluginOptions, -); +};