更新配置文件,优化路径匹配规则

This commit is contained in:
2026-04-27 16:00:02 +08:00
parent 07861bee03
commit 3db2af0271
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
distDir: process.env.NEXT_DIST_DIR || ".next",
output: "standalone", output: "standalone",
images: { images: {
remotePatterns: [ remotePatterns: [
+2 -2
View File
@@ -63,8 +63,8 @@
"next-env.d.ts", "next-env.d.ts",
"**/*.ts", "**/*.ts",
"**/*.tsx", "**/*.tsx",
".next/types/**/*.ts", ".next*/types/**/*.ts",
".next/dev/types/**/*.ts" ".next*/dev/types/**/*.ts"
], ],
"exclude": [ "exclude": [
"node_modules" "node_modules"