-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.common.json
44 lines (36 loc) · 1.14 KB
/
tsconfig.common.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
/*
Condiguration de base pour l'app ET le framework
*/
{
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"allowJs": true,
"strict": false,
"downlevelIteration": true,
// Force case sensitive import filenames on Window and Mac
// https://briandesousa.net/?p=870
"forceConsistentCasingInFileNames": true,
// Equivalent webpack: resolve.symblinks = false
"preserveSymlinks": true,
// Décorateurs
"experimentalDecorators": true,
"inlineSourceMap": true,
// React
"jsx": "react-jsx",
"jsxImportSource": "preact",
"strictPropertyInitialization": true,
"strictNullChecks": true,
"rootDir": "./src",
"baseUrl": "./src",
"paths": {
"@client/*": ["./client/*"],
"@common/*": ["./common/*"],
"@server/*": ["./server/*"],
"react": ["preact/compat"],
"react-dom": ["preact/compat"],
"react/jsx-runtime": ["preact/jsx-runtime"]
},
},
"include": ["src", "types/global"]
}