forked from angular/components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbazel-tsconfig-build.json
More file actions
37 lines (36 loc) · 1.27 KB
/
Copy pathbazel-tsconfig-build.json
File metadata and controls
37 lines (36 loc) · 1.27 KB
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
// TypeScript configuration that will be used to build entry-points of the CDK. To avoid
// duplicate logic, we decided to just have one package-wide tsconfig file that will be
// used by Bazel to build the sources for an entry-point. This means that we no longer
// need multiple tsconfig files (build & test) for each entry-point once Bazel replaces
// our gulp build system.
{
"compilerOptions": {
"baseUrl": ".",
"declaration": true,
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
"noImplicitThis": true,
"importHelpers": true,
"newLine": "lf",
"module": "es2015",
"moduleResolution": "node",
"sourceMap": true,
"inlineSources": true,
"target": "es2015",
"lib": ["es2015", "dom"],
"skipLibCheck": true,
"types": ["tslib"]
},
"bazelOptions": {
// Note: We can remove this once we fully switched away from Gulp. Currently we still set
// some options here just in favor of the standard tsconfig's which extending this one.
"suppressTsconfigOverrideWarnings": true,
// See https://github.com/angular/angular/issues/29107
"devmodeTargetOverride": "es5"
}
}