-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
42 lines (42 loc) · 1.08 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
// "baseUrl": ".",
// "declaration": true,
// "declarationDir": "dist/types",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"inlineSources": true,
"lib": [
"dom",
"es5",
"es2016"
],
"module": "commonjs",
// "module": "es2015", // will support tree shaking
"moduleResolution": "node",
// "noImplicitAny": true,
// "paths": {
// "d3-color": ["node_modules/d3-color"],
// "d3-format": ["node_modules/d3-format"],
// "d3-scale": ["node_modules/d3-scale"],
// "d3-selection": ["node_modules/d3-selection"],
// "d3-sankey": ["node_modules/d3-sankey"]
// },
"sourceMap": true,
"strictNullChecks": true,
// "strict": true,
"target": "es5" // changed from es5 to es2015 while testing tree shaking
// conflict between uglifysj which needs es5 and tree shaking
// "typeRoots": [
// "node_modules/@types"
// ]
},
"exclude": [
"node_modules"
],
"include": [
"app/**/*.ts"
]
}