From 77bb95608e86a9693db6d2787958f998cccd1c60 Mon Sep 17 00:00:00 2001 From: d3v1l0n Date: Sun, 29 Dec 2024 05:47:17 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf:=20enable=20pro=20ref?= =?UTF-8?q?erences=20and=20non-relative=20mod=20imports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 1ffef600..830123e0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,12 @@ { - "files": [], + "compilerOptions": { + "composite": true, // Enables project references, necessary for the referenced tsconfigs + "baseUrl": ".", // Ensures the base directory for resolving non-relative module imports + "paths": { + "@src/*": ["src/*"] // Optional: adds path aliases if needed, adjust based on your structure + } + }, + "files": [], // No specific files to include at this level, as it's referencing other tsconfigs "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }