From d8b4f502391bfe9de0f6aab498623213819e65b3 Mon Sep 17 00:00:00 2001 From: Korbs Date: Thu, 6 Jun 2024 17:49:48 -0400 Subject: [PATCH] Import alias --- tsconfig.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index d78f81e..6c1b602 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,12 @@ { - "extends": "astro/tsconfigs/base" -} + "compilerOptions": { + "baseUrl": ".", + "paths": { + // https://docs.astro.build/en/guides/aliases/ + "@assets/*": ["src/assets/*"], + "@components/*": ["src/components/*"], + "@layouts/*": ["src/layouts/*"], + "@styles/*": ["src/styles/*"], + } + } +} \ No newline at end of file