refactor: 重构页面元数据以支持SEO规范链接 feat(web): 实现用户积分系统和登录验证 docs: 添加Docker使用指南和更新README build: 添加Docker相关配置文件和脚本 chore: 更新依赖项并添加初始化SQL文件
14 lines
301 B
JavaScript
14 lines
301 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
images: {
|
|
domains: ['localhost'],
|
|
formats: ['image/webp', 'image/avif'],
|
|
},
|
|
// 优化性能
|
|
compiler: {
|
|
removeConsole: process.env.NODE_ENV === 'production',
|
|
},
|
|
output: 'standalone',
|
|
};
|
|
|
|
module.exports = nextConfig; |