-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
36 lines (36 loc) · 1.03 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
{
"compilerOptions": {
"outDir": "./dist", // Where to output the compiled JavaScript files
"declaration": true, // Emit type declaration files
"declarationDir": "./dist/types", // Where to output the type declaration files
"jsx": "preserve", // Enable JSX support for React
"module": "esnext", // Use ES modules
"target": "es5", // Target ES5 for compatibility
"moduleResolution": "node", // Resolve modules like Node.js
"esModuleInterop": true, // Enable interop for default imports
"strict": true, // Enable strict type-checking options
"skipLibCheck": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"noEmit": true,
"incremental": true,
"resolveJsonModule": true,
"isolatedModules": true,
"plugins": [
{
"name": "next"
}
]
},
"include": [
"src",
".next/types/**/*.ts"
], // Include the 'src' directory for compilation
"exclude": [
"node_modules"
] // Exclude the 'node_modules' directory
}