diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 9e0e6e98..c0001fa5 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -9,20 +9,6 @@ const baseNextConfig = { env: { TELEGRAM_BOT_TOKEN: process.env.TELEGRAM_BOT_TOKEN, }, - webpack: (config, { webpack }) => { - config.plugins.push( - new webpack.DefinePlugin({ - __SENTRY_DEBUG__: false, - __SENTRY_TRACING__: false, - __RRWEB_EXCLUDE_IFRAME__: true, - __RRWEB_EXCLUDE_SHADOW_DOM__: true, - __SENTRY_EXCLUDE_REPLAY_WORKER__: true, - }), - ); - - // return the modified config - return config; - }, }; let selectedCofig = baseNextConfig;