From 2db0a5d2821505cdef1a26522af3982a740846e7 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Thu, 25 Jun 2026 11:38:20 +0200 Subject: [PATCH] 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). --- apps/docs/tsconfig.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json index 24f197cd3..1142ed3fb 100644 --- a/apps/docs/tsconfig.json +++ b/apps/docs/tsconfig.json @@ -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",