-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
34 lines (33 loc) · 1.23 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
// this tsconfig is for SRC FOLDER === mean this is config for client side (browser) to run
// ******* USE THIS WHEN DEVELOPMENT *********
{
"schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/vite-react/tsconfig.json",
"compilerOptions": {
"sourceMap": true, //source map for debugging
"noUnusedLocals": false, //false so that warnings can still be okay
"noUnusedParameters": false, //false so that warnings can still be okay
"baseUrl": "./src",
"paths": {
"@apis/*": ["apis/*"],
"@assets/*": ["assets/*"],
"@components/*": ["components/*"],
"@constants/*": ["constants/*"],
"@contexts/*": ["contexts/*"],
"@hooks/*": ["hooks/*"],
"@layout/*": ["layout/*"],
"@pages/*": ["pages/*"],
"@styles/*": ["styles/*"],
"@services/*": ["services/*"],
"@stores/*": ["stores/*"],
"@utils/*": ["utils/*"],
"@public/*": ["../public/*"],
"@common/*": ["common/*"],
"@provider/*": ["provider/*"],
"@routes/*": ["routes/*"]
}
},
"include": ["./src", "src", "src/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}"],
// reference simple term mean extend tsconfig from another tsconfig
"references": [{ "path": "./tsconfig.node.json" }]
}