更新.gitignore以反映新的构建输出目录,并在next.config.mjs中注释掉distDir配置以使用默认值

This commit is contained in:
宇阳
2025-12-09 10:53:20 +08:00
parent fc5f00fef7
commit 7e14223a6d
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -10,7 +10,7 @@
/coverage
# next.js
/next/
/.next/
/out/
# production

View File

@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// 自定义构建输出目录
distDir: 'next',
// distDir: 'next',
// 关闭严格模式
reactStrictMode: false,
// 配置图片来源