Files
Podcast-Generator/web/next.config.ts
hex2077 0b00a3b0ae feat(i18n): 添加多语言支持并重构相关组件
实现国际化(i18n)支持,包括:
1. 新增i18n配置文件和中间件
2. 重构页面和组件以支持多语言
3. 添加中英日三语翻译文件
4. 修改API路由以支持语言参数
5. 更新README文档说明i18n功能
6. 添加语言切换组件
7. 调整布局和路由结构支持多语言路径
2025-08-25 00:46:32 +08:00

15 lines
325 B
TypeScript

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['localhost'],
formats: ['image/webp', 'image/avif'],
},
// 优化性能
compiler: {
removeConsole: process.env.NODE_ENV === 'production',
},
output: 'standalone',
devIndicators: false,
};
module.exports = nextConfig;