18 lines
417 B
TypeScript
18 lines
417 B
TypeScript
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;
|