|
1 | | -// TypeScript config file that is used to compile the library into ES2015. |
| 1 | +// TypeScript config file that is used to compile the Material package through Gulp. As the |
| 2 | +// long term goal is to switch to Bazel, and we already want to run tests with Bazel, we need to |
| 3 | +// ensure the TypeScript build options are the same for Gulp and Bazel. We achieve this by |
| 4 | +// extending the generic Bazel build tsconfig which will be used for each entry-point. |
2 | 5 | { |
| 6 | + "extends": "../bazel-tsconfig-build.json", |
3 | 7 | "compilerOptions": { |
4 | | - "declaration": true, |
5 | | - "stripInternal": false, |
6 | | - "experimentalDecorators": true, |
7 | | - "noUnusedParameters": true, |
8 | | - "strictNullChecks": true, |
9 | | - "strictFunctionTypes": true, |
10 | | - "noImplicitAny": true, |
11 | | - "noImplicitThis": true, |
12 | | - "importHelpers": true, |
13 | | - "newLine": "lf", |
14 | | - "module": "es2015", |
15 | | - "moduleResolution": "node", |
| 8 | + "baseUrl": ".", |
16 | 9 | "outDir": "../../dist/packages/material", |
17 | 10 | "rootDir": ".", |
18 | 11 | "rootDirs": [ |
19 | 12 | ".", |
20 | 13 | "../../dist/packages/material" |
21 | 14 | ], |
22 | | - "sourceMap": true, |
23 | | - "inlineSources": true, |
24 | | - "target": "es2015", |
25 | | - "lib": ["es2015", "dom"], |
26 | | - "skipLibCheck": true, |
27 | | - "types": [], |
28 | | - "baseUrl": ".", |
29 | 15 | "paths": { |
30 | 16 | "@angular/cdk/*": ["../../dist/packages/cdk/*"], |
31 | 17 | "@angular/material/*": ["../../dist/packages/material/*"] |
|
42 | 28 | "flatModuleId": "@angular/material", |
43 | 29 | "skipTemplateCodegen": true, |
44 | 30 | "fullTemplateTypeCheck": true |
45 | | - }, |
46 | | - "bazelOptions": { |
47 | | - "suppressTsconfigOverrideWarnings": true |
48 | 31 | } |
49 | 32 | } |
0 commit comments