forked from rrweb-io/rrweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
52 lines (50 loc) · 1.27 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"compilerOptions": {
"composite": true,
/**
* @see https://vitejs.dev/guide/features.html#target
*/
"esModuleInterop": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"rootDir": "src",
"outDir": "dist",
"lib": ["es6", "dom"],
"sourceMap": true,
"skipLibCheck": true,
"declaration": true,
"verbatimModuleSyntax": true,
"strict": true,
"removeComments": true,
"noImplicitAny": true,
"strictNullChecks": true,
"preserveConstEnums": true,
"strictBindCallApply": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"downlevelIteration": true,
// needed for vite
/**
* @see https://vitejs.dev/guide/features.html#isolatedmodules
*/
"isolatedModules": true,
"types": [
"node",
/**
* needed as long as we have jest tests
* they add globals like `test` and `expect`
*/
"jest",
/**
* @see https://vitejs.dev/guide/features.html#client-types
*/
"vite/client",
"@types/dom-mediacapture-transform",
"@types/offscreencanvas"
]
},
"exclude": ["**/vite.config.ts", "**/vitest.config.ts", "**/test"],
"compileOnSave": true
}