-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tsconfig.json
44 lines (44 loc) · 1.08 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
37
38
39
40
41
42
43
44
{
"compilerOptions": {
"target": "ES2018", // ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'.
"module": "commonjs", // Module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.
"lib": [
"dom",
"dom.iterable",
"esnext",
"ES2020.String"
],
"declaration": false,
"isolatedModules": true,
/* Additional Checks */
"useDefineForClassFields": true,
"skipLibCheck": true,
"moduleResolution": "node",
"jsx": "preserve",
"jsxFactory": "preact.h",
"jsxFragmentFactory": "preact.Fragment",
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"esModuleInterop": true,
"allowJs": false,
"sourceMap": true,
"baseUrl": "src",
"paths": {
"react": [
"./node_modules/preact/compat/"
],
"react-dom": [
"./node_modules/preact/compat/"
]
}
},
"include": [
"src",
"jest.config.ts.ts",
"tailwind.config.js"
],
"exclude": [
"**/node_modules",
"**/.*/"
]
}