From c3a32d48207e8c47c81ccc96c78e59d115ed36f1 Mon Sep 17 00:00:00 2001 From: doda Date: Sat, 3 Feb 2024 23:56:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=A0=EA=B9=90=20sentry=20=ED=95=B4?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/next.config.js b/next.config.js index cfc1093b..7c17ad54 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,7 @@ -const { withSentryConfig } = require('@sentry/nextjs'); -const withBundleAnalyzer = require('@next/bundle-analyzer')({ - enabled: process.env.ANALYZE === 'true', -}); +// const { withSentryConfig } = require('@sentry/nextjs'); +// const withBundleAnalyzer = require('@next/bundle-analyzer')({ +// enabled: process.env.ANALYZE === 'true', +// }); const CompressionPlugin = require('compression-webpack-plugin'); const { version } = require('./package.json'); @@ -28,12 +28,14 @@ const nextConfig = { }, }; -const sentryWebpackPluginOptions = { - silent: true, - authToken: process.env.SENTRY_AUTH_TOKEN, -}; +// const sentryWebpackPluginOptions = { +// silent: true, +// authToken: process.env.SENTRY_AUTH_TOKEN, +// }; -module.exports = () => { - const plugins = [[withSentryConfig, sentryWebpackPluginOptions], [withBundleAnalyzer]]; - return plugins.reduce((acc, cur) => cur[0](acc, cur[1] ?? undefined), nextConfig); -}; +module.exports = nextConfig; + +// module.exports = () => { +// const plugins = [[withSentryConfig, sentryWebpackPluginOptions], [withBundleAnalyzer]]; +// return plugins.reduce((acc, cur) => cur[0](acc, cur[1] ?? undefined), nextConfig); +// };