Skip to content

Commit

Permalink
fix: hotfix next config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tien Nam Dao committed Mar 2, 2023
1 parent 216038a commit 934d31c
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ const nextConfig = {
destination: '/tx/:txHash'
}
]
}
}

const moduleExports = {
...nextConfig,
},
i18n: {
locales: ['en', 'vi'],
defaultLocale: 'en'
Expand All @@ -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:
Expand Down

0 comments on commit 934d31c

Please sign in to comment.