From 934d31c1135d7a0314dc8804dd81eac7dbcbe2cf Mon Sep 17 00:00:00 2001 From: Tien Nam Dao Date: Thu, 2 Mar 2023 15:01:24 +0700 Subject: [PATCH] fix: hotfix next config --- next.config.js | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/next.config.js b/next.config.js index 114df7c6..c5397f13 100644 --- a/next.config.js +++ b/next.config.js @@ -32,11 +32,7 @@ const nextConfig = { destination: '/tx/:txHash' } ] - } -} - -const moduleExports = { - ...nextConfig, + }, i18n: { locales: ['en', 'vi'], defaultLocale: 'en' @@ -47,22 +43,13 @@ const moduleExports = { issuer: { and: [/\.(js|ts)x?$/] }, use: ['@svgr/webpack'] }) - // config.module.rules.push({ - // test: /\.s?css$/, - // use: ['style-loader', 'css-loader', 'sass-loader'], - // }) - // config.module.rules.push({ - // test: /\.s[ac]ss$/i, - // use: { - // loader: 'sass-loader', - // // options: { - // // additionalData: '@import "src/styles/variables.scss";' - // // } - // } - // }) - return config - }, + } +} + +const moduleExports = { + ...nextConfig, + sentry: { hideSourceMaps: true // See the sections below for information on the following options: