-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
34 lines (34 loc) · 1.16 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
{
"compilerOptions": {
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "es2016",
/* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"esModuleInterop": true,
/* Ensure that casing is correct in imports. */
"forceConsistentCasingInFileNames": true,
/* Enable all strict type-checking options. */
"strict": true,
/* Skip type checking all .d.ts files. */
"skipLibCheck": true,
"jsx": "react",
"module": "ESNext",
"noEmit": true,
// "declaration": true,
// "declarationDir": "types",
// "emitDeclarationOnly": true,
"sourceMap": true,
"outDir": "dist",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"*.cjs",
"*.js",
"vite.config.ts",
"vitest-setup.ts",
"postcss.config.cjs"
],
"exclude": ["dist", "node_modules"]
}