-
Notifications
You must be signed in to change notification settings - Fork 569
/
Copy pathtsconfig.json
39 lines (39 loc) · 1.3 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
32
33
34
35
36
37
38
39
{
"compilerOptions": {
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
"strict": true,
// "noUncheckedIndexedAccess": true,
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
"module": "preserve",
"noEmit": true,
"jsx": "preserve",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"lib": ["es2022", "webworker", "dom.iterable"],
"types": ["node", "@cloudflare/workers-types"],
"paths": {
"nitro": ["./src/index"],
"nitro/runtime": ["./src/runtime"],
"nitro/runtime/internal": ["./src/runtime/internal"],
"nitro/presets": ["./src/presets"],
"nitro/types": ["./src/types"],
"nitro/config": ["./lib/config.mjs"],
"nitro/meta": ["./lib/meta.mjs"],
"nitro/runtime/meta": ["./lib/runtime-meta.mjs"],
"#nitro-internal-virtual/*": ["./src/types/virtual/*"],
"#internal/nitro": ["./src/runtime"],
"#internal/nitro/*": ["./src/runtime/*"]
}
},
"include": ["src", "test", "scripts/gen-mirror.ts"],
"exclude": ["dist", "lib", "examples", "playground", "test/fixture"]
}