-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathtsconfig.json
More file actions
50 lines (50 loc) · 1.23 KB
/
tsconfig.json
File metadata and controls
50 lines (50 loc) · 1.23 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "Bundler",
"customConditions": ["default"],
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": "."
},
"mdx": {
"checkMdx": true
},
"include": [
"**/*.js",
"**/*.jsx",
"**/*.mdx",
"**/*.mjs",
"**/*.ts",
"**/*.tsx",
// Explicitly include since the globs won't match the `.`
".stylelintrc.mjs",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules",
".next",
".open-next",
// The worker entrypoint is bundled by wrangler (not tsc). Its imports of
// @sentry/cloudflare and .open-next/worker.js trigger an infinite-recursion
// crash in the TypeScript compiler (v5.9) during type resolution of
// @cloudflare/workers-types, so we exclude it from type checking.
"cloudflare/worker-entrypoint.ts"
]
}