-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.base.json
28 lines (28 loc) · 960 Bytes
/
tsconfig.base.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
// TODO: Get all the tsconfigs to extend this one
// in particular the root /tsconfig.json and /apps/web/tsconfig.json
{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": true,
"checkJs": true,
"exactOptionalPropertyTypes": false,
"importsNotUsedAsValues": "remove",
"esModuleInterop": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"jsx": "preserve",
"jsxImportSource": "react",
"outDir": "./dist",
"sourceMap": true,
"declaration": true,
// This is what allows vscode etc. to automatically jump to /src files
// as user navigate into the library. And this is the reason we don't quite want to use tsup
// for the foreseeable future
// @see https://github.com/egoist/tsup/issues/885
"declarationMap": true
},
"exclude": ["node_modules"]
}