From: Haoqun Jiang Date: Fri, 28 Jan 2022 08:21:50 +0000 (+0800) Subject: refactor: get rid of `baseUrl` option in tsconfig X-Git-Tag: v3.1.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b6b263d61219e690b4a568205a4b8ffaaf2e622;p=thirdparty%2Fvuejs%2Fcreate-vue.git refactor: get rid of `baseUrl` option in tsconfig --- 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