fix: remove console.logs #28

Merged
redrockjs merged 1 commits from dev into main 2025-07-02 07:55:53 +00:00
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;

View File

@@ -5,8 +5,6 @@ import { CORE } from '@shared/config/core';
async function sendMail(data: TBaseForm) {
const { name, phone, message, form } = data;
console.log('🍒', CORE);
const formattedBody = `
<html lang="ru-RU">
<body>