22 lines
488 B
TypeScript
22 lines
488 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')],
|
|
additionalData: `
|
|
@use 'variables' as *;
|
|
@use 'mixins' as *;
|
|
@use 'functions' as *;
|
|
`,
|
|
},
|
|
compiler: {
|
|
removeConsole:
|
|
process.env.NODE_ENV === 'production' ? { exclude: ['error'] } : false,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|