From 2b6b263d61219e690b4a568205a4b8ffaaf2e622 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 28 Jan 2022 16:21:50 +0800 Subject: [PATCH] refactor: get rid of `baseUrl` option in tsconfig --- template/config/typescript/tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/template/config/typescript/tsconfig.json b/template/config/typescript/tsconfig.json index 8c707192..ca1e1ee6 100644 --- a/template/config/typescript/tsconfig.json +++ b/template/config/typescript/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "baseUrl": "./", "target": "esnext", "useDefineForClassFields": true, "module": "esnext", @@ -12,7 +11,7 @@ "resolveJsonModule": true, "esModuleInterop": true, "paths": { - "@/*": ["src/*"] + "@/*": ["./src/*"] }, "lib": ["esnext", "dom", "dom.iterable", "scripthost"], "skipLibCheck": true -- 2.39.5