-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
36 lines (34 loc) · 1.05 KB
/
tsconfig.json
File metadata and controls
36 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
// Performance optimizations
"incremental": true,
"skipLibCheck": true,
// Path mapping - fixed to resolve ~ alias
"baseUrl": ".",
"paths": {
"~/*": ["src/*"],
"~/components/*": ["src/components/*"],
"~/layouts/*": ["src/layouts/*"],
"~/pages/*": ["src/pages/*"],
"~/lib/*": ["src/lib/*"],
"~/utils/*": ["src/utils/*"],
"~/types/*": ["src/types/*"],
"~/assets/*": ["src/assets/*"],
"~/config/*": ["src/config/*"],
"~/content/*": ["src/content/*"],
"~/data/*": ["src/data/*"],
"~/scripts/*": ["src/scripts/*"]
}
},
"include": ["src/**/*", "astro.config.ts", "tailwind.config.js", "eslint.config.js"],
"exclude": ["node_modules", "dist", ".astro", "vendor", "react-email-starter"]
}