From 581060a24d29da350aa77ffeb6ca81dac5c1c3c8 Mon Sep 17 00:00:00 2001 From: Robert La Ferla Date: Mon, 22 Jan 2024 09:27:01 -0500 Subject: [PATCH] fix: import aliases (#104) Fixed $libs and $components aliases in imports --- tsconfig.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 042704d3..3f650d53 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,12 @@ { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { + "paths": { + "$components":["./src/components"], + "$components/*":["./src/components/*"], + "$lib":["./src/lib"], + "$lib/*":["./src/lib/*"], + }, "target": "ESNext", "allowJs": true, "checkJs": true,