-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtsconfig.json
34 lines (34 loc) · 969 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
{
"compilerOptions": {
"strict": true,
"module": "ES2020",
"target": "ES2020",
"allowJs": true,
// Doesn't apply to server/, see ts-node config down below and server/tsconfig.json
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"types": ["vite/client", "unplugin-icons/types/preact"],
"jsx": "react-jsx",
"jsxImportSource": "preact",
"skipLibCheck": true,
"esModuleInterop": true,
"baseUrl": ".",
"paths": {
"#components/*": ["./interface/components/*"],
"#hooks/*": ["./interface/hooks/*"],
"#sections/*": ["./interface/sections/*"],
"#layouts/*": ["./interface/layouts/*"],
"#markdown/*": ["./markdown/*"],
"#design-system/*": ["./design-system/*"],
"#lang/*": ["./lang/*"]
}
},
"ts-node": {
"transpileOnly": true,
"esm": true,
"compilerOptions": {
"module": "Node16",
"moduleResolution": "Node16"
}
}
}