diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:03:03 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:10:06 +0100 |
| commit | 8c1fff45fb5340a338416586162ac247b2b190c0 (patch) | |
| tree | 849ae072e8efc8652d3045ae4ab3db30798f1a9b /tsconfig.json | |
| parent | 1118c377e32940ada179bfcde1549b73d8948626 (diff) | |
Uses TSConfig paths
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json index bcbf8b5..4f05f2f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,15 @@ { - "extends": "astro/tsconfigs/strict" + "extends": "astro/tsconfigs/strict", + "compilerOptions": { + "baseUrl": "src", + "paths": { + "$components/*": ["./components/*"], + "$data/*": ["./data/*"], + "$i18n/*": ["./i18n/*"], + "$layouts/*": ["./layouts/*"], + "$lib/*": ["./lib/*"], + "$pages/*": ["./pages/*"], + "$types/*": ["./types/*"] + } + } } |
