forked from arnog/mathlive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
55 lines (48 loc) · 1.47 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"compilerOptions": {
"rootDir": ".",
"outDir": "build",
// vue-cli depends on webpack4 which doesn't support es2020. webpack 5 does.
// so, to support version of vue-cli that are in use (August 2021),
// downgrade target to es2019.
"target": "es2019",
"module": "es2020", // es2020 includes support for dynamic imports, and import.meta
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"lib": ["es2020", "dom", "dom.iterable", "scripthost"],
// Do not include all the type definitions in `node_modules/@types`,
// which include NodeJS definitions that are not applicable to a web app
// but only those type definitions that are required
"typeRoots": [],
"types": [
"./node_modules/@types/css-font-loading-module",
"./node_modules/@types/jest"
],
"emitDecoratorMetadata": false,
"experimentalDecorators": false,
// Test files for Jest are in JS
// "allowJs": true,
"strictNullChecks": true,
"noImplicitAny": false,
"noLib": false,
// We'll strip the comments with rollup but we need them for the declaration files
"removeComments": false,
"baseUrl": "src",
"sourceMap": true,
"incremental": true,
"tsBuildInfoFile": "./build/ts-cache.tsbuildinfo"
},
"exclude": [
"coverage",
"test",
"node_modules",
"**/*.spec.ts",
"dist",
"build",
"examples",
"docs",
"tutorials",
"**/*.config.js"
]
}