]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
refactor: remove `baseUrl` from all TSConfig files
authorHaoqun Jiang <haoqunjiang@gmail.com>
Sat, 9 Nov 2024 07:26:10 +0000 (15:26 +0800)
committerCédric Exbrayat <cexbrayat@users.noreply.github.com>
Sat, 9 Nov 2024 08:08:32 +0000 (09:08 +0100)
Per the [official documentation](https://www.typescriptlang.org/tsconfig/#baseUrl):
> This feature was designed for use in conjunction with AMD module
loaders in the browser, and is not recommended in any other context.
As of TypeScript 4.1, baseUrl is no longer required to be set when using paths.

template/tsconfig/base/tsconfig.app.json
template/tsconfig/nightwatch-ct/tsconfig.app.json

index e14c754d3ae5775d2ab13001e251c1371be912de..93f952f1dd81403bc536b9fedae23f14d41eec22 100644 (file)
@@ -6,7 +6,6 @@
     "composite": true,
     "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
 
-    "baseUrl": ".",
     "paths": {
       "@/*": ["./src/*"]
     }
index e14c754d3ae5775d2ab13001e251c1371be912de..93f952f1dd81403bc536b9fedae23f14d41eec22 100644 (file)
@@ -6,7 +6,6 @@
     "composite": true,
     "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
 
-    "baseUrl": ".",
     "paths": {
       "@/*": ["./src/*"]
     }