Files
Podcast-Generator/web/next.config.ts
hex2077 03ac351930 feat(ui): 添加通知横幅组件并调整UI位置
添加全局通知横幅组件,支持多语言和多种状态类型。同时调整Toast组件和开发指示器的位置。
2025-08-26 23:01:39 +08:00

17 lines
382 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-left', // 将挂件移动到右下角
},
};
module.exports = nextConfig;