From 3db2af0271004c0ddc846dfa0c09cc15b9d65e20 Mon Sep 17 00:00:00 2001 From: Huarch Date: Mon, 27 Apr 2026 16:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96=E8=B7=AF=E5=BE=84=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.mjs | 1 + tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index f07358f..44ee2f9 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + distDir: process.env.NEXT_DIST_DIR || ".next", output: "standalone", images: { remotePatterns: [ diff --git a/tsconfig.json b/tsconfig.json index 868d7b5..d90975c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -63,8 +63,8 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts" + ".next*/types/**/*.ts", + ".next*/dev/types/**/*.ts" ], "exclude": [ "node_modules"