]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
refactor: get rid of `baseUrl` option in tsconfig
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 28 Jan 2022 08:21:50 +0000 (16:21 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 28 Jan 2022 08:21:50 +0000 (16:21 +0800)
template/config/typescript/tsconfig.json

index 8c7071924e521e87d4c260773a63e1843793e2f9..ca1e1ee65ecbc41901f681f9ef428c072a333cbf 100644 (file)
@@ -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