fix: update settings

This commit is contained in:
2025-06-23 15:32:25 +03:00
parent 8086223f23
commit 21111e93f9
9 changed files with 190 additions and 31 deletions

View File

@@ -1,7 +1,17 @@
import type { NextConfig } from "next";
import type { NextConfig } from 'next';
import path from 'path';
const nextConfig: NextConfig = {
/* config options here */
output: 'standalone',
sassOptions: {
includePaths: [path.resolve('./src/core/styles')],
prependData: `@import "index.scss";`,
},
compiler: {
removeConsole:
process.env.NODE_ENV === 'production' ? { exclude: ['error'] } : false,
},
};
export default nextConfig;