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); +// };