15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
import type { NextConfig } from 'next';
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
const nextConfig: NextConfig = {
|
|
// reactCompiler: true,
|
|
output: 'standalone',
|
|
compiler: {
|
|
removeConsole: process.env.NODE_ENV === 'production',
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|