forked from scalar/scalar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
27 lines (27 loc) · 894 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
{
"compilerOptions": {
"target": "ES2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "ESNext" /* Specify what module code is generated. */,
"moduleResolution": "Bundler",
// Required for isolated module compilation (ESBuild)
"isolatedModules": true,
// Support proper ESM builds
"esModuleInterop": true,
// Ensure that casing is correct in imports.
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"skipLibCheck": true
},
"types": ["vite/client"],
"exclude": ["dist", "node_modules", "**/dist", "**/node_modules"],
// Required for path rewrites
"ts-node": {
"require": ["tsconfig-paths/register"]
},
// Required for path aliasing
"tsc-alias": {
"resolveFullPaths": true
}
}