From fac1a71d0ab04d0f63790273b6d9d2ca34bb6b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sun, 8 Jan 2023 18:17:33 +0100 Subject: [PATCH] Add src directory alias --- tsconfig.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 30cf17b..fbd6542 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,10 @@ { "extends": "astro/tsconfigs/strict", "compilerOptions": { - "jsx": "preserve" + "jsx": "preserve", + "baseUrl": ".", + "paths": { + "@/*": ["src/*"] + } } -} \ No newline at end of file +}