-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
40 lines (40 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
31
32
33
34
35
36
37
38
39
40
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"jsx": "react",
"baseUrl": "src",
// webpack will include polyfills for anything > es2016
"lib": ["dom", "es2015", "es2016", "es2017", "esnext"],
"moduleResolution": "node",
"strict": true,
"suppressImplicitAnyIndexErrors": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"plugins": [
{
"name": "typescript-styled-plugin"
},
{
"name": "@divyenduz/ts-graphql-plugin"
}
],
"target": "ES2016",
"types": [
"node",
"./types/helpers"
// needed for react-youtube if we ever add it back
// "youtube"
],
"typeRoots": ["node_modules/@types", "types/external"],
// must also be added to gatsby/onCreateWebpackConfig.ts
"paths": {
"@r/*": ["./*"],
"@shared/*": ["../shared/*"]
},
"outDir": "./dist"
},
"include": ["**/*.ts", "**/*.tsx", "gatsby-config.ts", "gatsby-node.js"],
"exclude": ["node_modules/*", "public/*"]
}