-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtsconfig.json
More file actions
54 lines (54 loc) · 1.03 KB
/
Copy pathtsconfig.json
File metadata and controls
54 lines (54 loc) · 1.03 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
51
52
53
54
{
"compilerOptions": {
"target": "ES2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".", // Add this to define the root directory for path resolution
"paths": {
"@/*": [
"app/*"
],
"@components/*": [
"app/components/*"
] // Add specific alias for components
},
"typeRoots": [
"node_modules/@types",
"node_modules"
],
"types": [
"ethers"
] // Include ethers types for better compatibility
,
"plugins": [
{
"name": "next"
}
]
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"tailwind.config.ts",
"next.config.js"
],
"exclude": [
"node_modules"
]
}