-
Notifications
You must be signed in to change notification settings - Fork 6.7k
/
tsconfig-aot.json
44 lines (44 loc) · 1.68 KB
/
tsconfig-aot.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
// TypeScript config that extends the dev-app tsconfig file. This config compiles the
// "main-aot.ts" file and also enables templage code generation / AOT.
{
"extends": "./tsconfig-build",
"compilerOptions": {
// Needed for Moment.js since it doesn't have a default export.
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
"noImplicitThis": true,
"outDir": "../../dist/packages/dev-app",
"rootDirs": [
".",
// Include the package output here because otherwise NGC won't be able to load
// the SCSS files.
"../../dist/packages/dev-app"
],
"paths": {
"@angular/material/*": ["../../dist/releases/material/*"],
"@angular/material": ["../../dist/releases/material"],
"@angular/cdk/*": ["../../dist/releases/cdk/*"],
"@angular/cdk": ["../../dist/releases/cdk"],
"@angular/material-experimental/*": ["../../dist/releases/material-experimental/*"],
"@angular/material-experimental": ["../../dist/releases/material-experimental"],
"@angular/cdk-experimental/*": ["../../dist/releases/cdk-experimental/*"],
"@angular/cdk-experimental": ["../../dist/releases/cdk-experimental"],
"@angular/material-moment-adapter": ["../../dist/releases/material-moment-adapter"],
"@angular/material-examples": ["../../dist/releases/material-examples"]
}
},
"files": [
"./typings.d.ts",
"./dev-app-module.ts",
"./main-aot.ts"
],
"angularCompilerOptions": {
"skipTemplateCodegen": false,
"fullTemplateTypeCheck": true
}
}