fix: remove console.logs
This commit is contained in:
@@ -8,6 +8,10 @@ const nextConfig: NextConfig = {
|
|||||||
includePaths: [path.resolve('./src/core/styles')],
|
includePaths: [path.resolve('./src/core/styles')],
|
||||||
prependData: `@import "index.scss";`,
|
prependData: `@import "index.scss";`,
|
||||||
},
|
},
|
||||||
|
compiler: {
|
||||||
|
removeConsole:
|
||||||
|
process.env.NODE_ENV === 'production' ? { exclude: ['error'] } : false,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ import { CORE } from '@shared/config/core';
|
|||||||
async function sendMail(data: TBaseForm) {
|
async function sendMail(data: TBaseForm) {
|
||||||
const { name, phone, message, form } = data;
|
const { name, phone, message, form } = data;
|
||||||
|
|
||||||
console.log('🍒', CORE);
|
|
||||||
|
|
||||||
const formattedBody = `
|
const formattedBody = `
|
||||||
<html lang="ru-RU">
|
<html lang="ru-RU">
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user