Upload at 2026-01-01T08:47:21Z

This commit is contained in:
Nomo Bot
2026-01-01 08:47:21 +00:00
commit d3a7b704ed
36 changed files with 10277 additions and 0 deletions

31
next.config.ts Normal file
View File

@@ -0,0 +1,31 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
reactCompiler: true,
// Vercel优化配置
experimental: {
// 启用服务器组件优化
serverComponentsExternalPackages: [],
},
// 输出配置
output: 'standalone',
// 图片优化
images: {
domains: [],
formats: ['image/webp', 'image/avif'],
},
// 压缩配置
compress: true,
// 环境变量配置
env: {
CUSTOM_KEY: process.env.CUSTOM_KEY,
},
};
export default nextConfig;