Files
Podcast-Generator/web/next.config.ts
hex2077 f64cd498cf feat: 添加日语支持并优化国际化功能
refactor: 重构中间件和路由处理逻辑
fix: 修复音频示例API的错误处理
docs: 更新README和DOCKER_USAGE文档
style: 优化语言切换器样式
chore: 更新.gitignore添加生产环境配置文件
2025-08-25 19:17:16 +08:00

17 lines
383 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: {
position: 'top-right', // 将挂件移动到右下角
},
};
module.exports = nextConfig;