fix: remove console.logs

This commit is contained in:
2025-07-02 10:51:54 +03:00
parent 95a23eb963
commit 8e0bb7987d
2 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,10 @@ const nextConfig: NextConfig = {
includePaths: [path.resolve('./src/core/styles')],
prependData: `@import "index.scss";`,
},
compiler: {
removeConsole:
process.env.NODE_ENV === 'production' ? { exclude: ['error'] } : false,
},
};
export default nextConfig;