forked from scalar/scalar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 1.04 KB
/
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
{
"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",
"moduleDetection": "force",
// Required for isolated module compilation (ESBuild)
"isolatedModules": true,
// Support proper ESM builds
"esModuleInterop": true,
// Ensure that casing is correct in imports.
"forceConsistentCasingInFileNames": true,
// This rule leaves much to be fixed, will do it by package
// "noUncheckedIndexedAccess": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
"verbatimModuleSyntax": 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
}
}