feat(tsconfig): add tsconfig paths

- Added paths for components and assets

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-11 12:35:57 +08:00
committed by Asai Neko
parent 7dc1dca8be
commit 9d2e3603db

View File

@@ -1,5 +1,11 @@
{ {
"extends": "astro/tsconfigs/strict", "extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"], "include": [".astro/types.d.ts", "**/*"],
"compilerOptions": {
"paths": {
"@assets/*": ["./src/assets/*"],
"@components/*": ["./src/components/*"]
}
},
"exclude": ["dist"] "exclude": ["dist"]
} }