feat(tsconfig): add tsconfig paths
- Added paths for components and assets Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
@@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user