Use path aliasing

This commit is contained in:
Bad Manners 2024-09-14 17:48:51 -03:00
parent b9155828af
commit f23b3774d4
No known key found for this signature in database
GPG key ID: 8C88292CCB075609
15 changed files with 715 additions and 445 deletions

View file

@ -1,4 +1,13 @@
{
"extends": "astro/tsconfigs/strict",
"exclude": ["dist"]
"exclude": ["dist"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@assets/*": ["src/assets/*"],
"@components/*": ["src/components/*"],
"@data/*": ["src/data/*"],
"@layouts/*": ["src/layouts/*"]
}
}
}