import path from 'path'; /** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', distDir: 'build', async rewrites() { return [ { source: '/', destination: '/zh-CN', }, ]; }, }; export default nextConfig;