-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathtsconfig.json
More file actions
30 lines (29 loc) · 849 Bytes
/
Copy pathtsconfig.json
File metadata and controls
30 lines (29 loc) · 849 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
29
30
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"outDir": "./build",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
// Guarantees every file can be transpiled independently: catches types
// re-exported as values, which tsc elides but esbuild/tsx/bundlers emit as
// real runtime imports that then fail to resolve.
"isolatedModules": true,
"allowJs": true,
"declaration": true,
"sourceMap": true,
"paths": {
"@/*": ["./src/*"]
},
"types": ["node"],
"experimentalDecorators": true,
"emitDecoratorMetadata": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.test.ts", "build"],
}