-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
60 lines (60 loc) · 1.18 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"compilerOptions": {
"target": "es6",
"lib": [
"esnext"
],
"module": "esnext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"allowImportingTsExtensions": true,
"allowArbitraryExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": "./",
"paths": {
"@/*": [
"./*"
]
},
},
// Old "moduleResolution": "Node" option required for Cypress
// https://github.com/cypress-io/cypress/issues/26308#issuecomment-1663592648
//
"ts-node": {
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node"
}
},
"include": [
"next-env.d.ts",
"app/**/*.ts",
"app/**/*.tsx",
"components/**/*.ts",
"components/**/*.tsx",
"lib/**/*.ts",
"scripts/*.ts",
"types/*.d.ts",
".next/types/**/*.ts",
"./dist/types/**/*.ts"
],
"exclude": [
"cypress.config.ts",
"cypress",
"./**/*.cy.*",
"dist",
"node_modules"
]
}