-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
36 lines (36 loc) · 981 Bytes
/
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": {
"target": "ES2020", // Compile to modern JavaScript
"module": "ESNext", // Use ES modules
"jsx": "preserve", // Use the React JSX transform
"lib": [
"DOM",
"ES2020"
], // Include DOM and ES2020 libraries
"strict": true, // Enable strict type checking
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true,
"declaration": true, // Generate declaration files
"outDir": "./dist", // Output directory for compiled JavaScript files
"typeRoots": [
"./types",
"./node_modules/@types"
], // Include custom types
"resolveJsonModule": true, // Allow importing .json files
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"noEmit": true,
"incremental": true,
"isolatedModules": true
},
"include": [
"src/**/*",
"types/**/*",
"src/components/useChatbotContext.tsx"
],
"exclude": [
"node_modules",
"dist"
]
}