From ad43c6817ea4675a73ae462928330366a0423a98 Mon Sep 17 00:00:00 2001 From: Jin Mao Date: Thu, 9 Apr 2026 14:48:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=85=8D=E7=BD=AE=20TypeScript=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E6=A0=B9=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 rootDir 编译选项指向 ./src 目录 - 保持现有编译配置不变 - 排除测试文件和 node_modules 目录 --- internal/node-utils/tsconfig.build.json | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/node-utils/tsconfig.build.json b/internal/node-utils/tsconfig.build.json index b62e0ab6b..714b1f8e4 100644 --- a/internal/node-utils/tsconfig.build.json +++ b/internal/node-utils/tsconfig.build.json @@ -2,6 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "./tsconfig.json", "compilerOptions": { + "rootDir": "./src", "noEmit": false }, "exclude": ["node_modules", "src/__tests__"]