-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 829 Bytes
/
Copy pathtsconfig.json
File metadata and controls
28 lines (28 loc) · 829 Bytes
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
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"baseUrl": ".",
"paths": {
// The frontend keeps "@" mapped to /src.
// The backend gets its own "@" mapping in server/tsconfig.json so both sides can use
// the same alias name without sharing one compiler configuration.
"@/*": ["src/*"]
},
"skipLibCheck": true,
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"strict": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
// "checkJs": true,
"types": ["vite/client"],
"ignoreDeprecations": "5.0"
},
"include": ["src", "shared", "vite.config.js"]
}