mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-07-01 02:24:31 +08:00
更新.gitignore以反映新的构建输出目录,并在next.config.mjs中注释掉distDir配置以使用默认值
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -10,7 +10,7 @@
|
||||
/coverage
|
||||
|
||||
# next.js
|
||||
/next/
|
||||
/.next/
|
||||
/out/
|
||||
|
||||
# production
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// 自定义构建输出目录
|
||||
distDir: 'next',
|
||||
// distDir: 'next',
|
||||
// 关闭严格模式
|
||||
reactStrictMode: false,
|
||||
// 配置图片来源
|
||||
|
||||
Reference in New Issue
Block a user