From b1d7abfebfaa6fd03b4967a77a54737df09b6795 Mon Sep 17 00:00:00 2001 From: ZLY Date: Mon, 22 Sep 2025 16:16:15 +0800 Subject: [PATCH] =?UTF-8?q?cli(tsconfig):=20=E6=9B=B4=E6=96=B0tsconfig.jso?= =?UTF-8?q?n=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index ab41192..7a8977a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "strict": false, "skipLibCheck": true, @@ -14,12 +18,23 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, - "baseUrl": "./src", + "baseUrl": ".", "paths": { - "@/*": ["./*"] + "@/*": [ + "src/*" + ] }, - "rootDirs": ["common/src/", "arco-design-pro-cra/src/", "arco-design-pro-next/src/"] + "rootDirs": [ + "common/src/", + "arco-design-pro-cra/src/", + "arco-design-pro-next/src/" + ] }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] }