-
Notifications
You must be signed in to change notification settings - Fork 15
/
tsconfig.json
38 lines (38 loc) · 1000 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
33
34
35
36
37
38
{
"extends": "@tsconfig/strictest",
"compilerOptions": {
// https://github.com/tsconfig/bases/blob/main/bases/node14.json
"lib": [
"es2020",
"DOM"
],
"module": "ESNext", // for @rollup/plugin-typescript
"target": "es2020",
"moduleResolution": "node",
// override extra strict rules
"verbatimModuleSyntax": false,
"exactOptionalPropertyTypes": false,
"noPropertyAccessFromIndexSignature": false,
"strictPropertyInitialization": false,
// enable required features
"allowSyntheticDefaultImports": true,
"allowJs": true,
// output
"outDir": "./dist",
// "noResolve": true, // Important: Otherwise TS would rewrite our ambient d.ts file locations (see: yarn copy-dts) :(
"declaration": false,
"sourceMap": true,
"removeComments": false,
"resolveJsonModule": true,
},
"include": [
"**/*.ts",
"*.config.js",
".*rc.js",
],
"exclude": [
"node_modules",
"dist",
"frontend"
]
}