-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
45 lines (40 loc) · 1.6 KB
/
tsconfig.json
File metadata and controls
45 lines (40 loc) · 1.6 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
{
"compilerOptions": {
"baseUrl": "src",
"paths": {
"@/*": ["*"]
},
/* Language and Environment */
"target": "es6" /* Use ES6 features for JavaScript output */,
"lib": [
"dom",
"dom.iterable",
"esnext"
] /* Libraries to include for DOM and ESNext features */,
"jsx": "react-jsx" /* Use the modern JSX transform for React */,
/* Modules */
"module": "commonjs" /* Use CommonJS module system */,
"moduleResolution": "node" /* Resolve modules using Node.js resolution strategy */,
"resolveJsonModule": true /* Enable importing .json files */,
/* JavaScript Support */
"allowJs": true /* Allow JavaScript files in the project */,
"checkJs": false /* Disable type-checking for JavaScript files */,
/* Interop Constraints */
"esModuleInterop": true /* Support for CommonJS modules */,
"allowSyntheticDefaultImports": true /* Enable default imports for modules without default exports */,
"forceConsistentCasingInFileNames": true /* Ensure case consistency in file imports */,
/* Type Checking */
"strict": true /* Enable strict type-checking options */,
"skipLibCheck": true /* Skip type-checking for library .d.ts files */,
/* Emit */
"sourceMap": true /* Generate source map files */,
"removeComments": true /* Remove comments from the emitted code */,
/* Output */
"outDir": "./dist" /* Directory to output the compiled code */
},
"include": ["src/**/*"] /* Include all files in the src directory */,
"exclude": [
"node_modules",
"dist"
] /* Exclude node_modules and output directory */
}