fix(docs): remove baseUrl from tsconfig for TypeScript 7

`baseUrl` has been removed in TypeScript 7. The Docusaurus tsconfig
extends from sets `baseUrl: "."` and `paths: { "@site/*": ["./*"] }`.

Drop the `@docusaurus/tsconfig` extension and inline the needed
options, redefining `paths` so the `@site/*` alias resolves
relative to the tsconfig file (the new TS 7 default for paths).
This commit is contained in:
Thomas Camlong committed 2026-06-25 11:38:20 +02:00
1 parent 6e3045029c
commit 2db0a5d282
1 file changed
+4 -2
+4 -2
View File
@@ -1,7 +1,5 @@
{
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"ignoreDeprecations": "6.0",
"target": "ES2022",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
@@ -11,10 +9,14 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@site/*": ["./*"]
},
},
"include": [
"**/*.ts",