-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (40 loc) · 993 Bytes
/
tsconfig.json
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
37
38
39
40
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"$/assets/*": ["src/assets/*"],
"$/styles/*": ["src/styles/*"],
"$/layouts/*": ["src/layouts/*"],
"$/constants/*": ["src/constants/*"],
"$/components/*": ["src/components/*"],
"$/atoms/*": ["src/components/atoms/*"],
"$/molecules/*": ["src/components/molecules/*"],
"$/sections/*": ["src/components/sections/*"]
}
},
"overrides": [
{
"files": ["src/components/solid/**/*"],
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "solid-js"
}
},
{
"files": ["src/components/react/**/*"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
}
},
{
"files": ["src/components/vue/**/*"],
"compilerOptions": {
"jsx": "preserve"
}
}
]
}