-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
32 lines (32 loc) · 980 Bytes
/
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
{
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@tsconfig/docusaurus/tsconfig.json",
"compilerOptions": {
"baseUrl": "./src",
"declaration": true,
"esModuleInterop": true,
"importHelpers": true,
"jsx": "react-jsx",
"noEmit": true,
"skipLibCheck": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
// TODO: Can't resolve error on run
// "paths": {
// "~globalStyles/*": ["globalStyles/*"],
// "~src/*": ["./*"],
// "~components/*": ["components/*"],
// "~constants/*": ["constants/*"],
// "~contexts/*": ["contexts/*"],
// "~hooks/*": ["hooks/*"],
// "~images/*": ["images/*"],
// "~lib/*": ["lib/*"],
// "~pagesParts/*": ["pages-parts/*"]
// },
"strict": true,
"target": "ES6"
},
"exclude": ["node_modules"],
"include": ["./src/**/*"]
}