-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
30 lines (30 loc) · 1.07 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
{
"include": ["./src/**/*", "./gatsby-node.ts", "./gatsby-config.ts", "./plugins/**/*"],
"compilerOptions": {
"target": "ESNext" /* or at least ES2015 */,
"module": "ESNext" /* or at least ES2015 */,
"lib": ["dom", "ES2020"] /* <-- required! */,
"jsx": "react" /* <-- required! */,
"moduleResolution": "node" /* <-- required! */,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"outDir": "./dist", // not actually used
"resolveJsonModule": true,
"baseUrl": "src",
"strict": true,
"paths": {
"@components/*": ["components/*"],
"@data/*": ["data/*"],
"@assets/*": ["assets/*"],
"@functions/*": ["functions/*"],
"@types/*": ["../@types/*", "../node_modules/@types/*"],
"@css/*": ["css/*"],
"@templates/*": ["templates/*"],
"@hooks/*": ["hooks/*"],
"@leaflet/*": ["leaflet/*"],
"@atoms": ["atoms"],
"@blog/*": ["components/BlogComponents/MdxComponents/*"]
}
},
"exclude": ["node_modules", "build", "scripts", "acceptance-tests", "webpack", "jest", "src/setupTests.ts"]
}