forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
35 lines (35 loc) · 1 KB
/
Copy pathtsconfig.json
File metadata and controls
35 lines (35 loc) · 1 KB
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
{
"$schema": "https://json.schemastore.org/tsconfig",
"include": ["src", "env.d.ts", "client.d.ts"],
"compilerOptions": {
"composite": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
// Enable top-level await.
"target": "ES2022",
"module": "ESNext",
"jsx": "react-jsx",
"outDir": "dist",
"resolveJsonModule": true,
"declarationDir": "dist/types",
"noUncheckedIndexedAccess": true
},
"exclude": [
"dist",
"build",
"node_modules",
// We're ignoring the files below because they are published as-is and is not processed/bundled with tsup.
// This cause TS to throw errors even though we're not bundling it.
"src/astro-components/**/*.ts"
]
}