chore(ts): make tsconfig compatible with TypeScript 6
- Add rootDir: ./src so tsc no longer errors with TS5011 demanding it be set explicitly alongside outDir. - Add ignoreDeprecations: 6.0 to silence the TS5101 baseUrl deprecation warning until baseUrl is removed in TS 7.
This commit is contained in:
@@ -3,7 +3,9 @@
|
|||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"baseUrl": "./src",
|
"baseUrl": "./src",
|
||||||
|
"rootDir": "./src",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
|
"ignoreDeprecations": "6.0",
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user