Merge pull request #28 from redrockjs/dev

fix: remove console.logs
This commit was merged in pull request #28.
This commit is contained in:
Valeriy G.
2025-07-02 10:55:53 +03:00
committed by GitHub
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>