
When compiling libraries, this feature extracts the minimal information from the directives/pipes/modules of the library into `.ngsummary.json` files, so that applications that use this library only need to be recompiled if one of the summary files change, but not on every change of the libraries (e.g. one of the templates). Only works if individual codegen for libraries is enabled, see the `generateCodeForLibraries: false` option. Closes #12787
30 lines
730 B
JSON
30 lines
730 B
JSON
{
|
|
"angularCompilerOptions": {
|
|
// For TypeScript 1.8, we have to lay out generated files
|
|
// in the same source directory with your code.
|
|
"genDir": ".",
|
|
"debug": true
|
|
},
|
|
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"experimentalDecorators": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"rootDir": "",
|
|
"declaration": true,
|
|
"lib": ["es6", "dom"],
|
|
"baseUrl": "."
|
|
},
|
|
|
|
"files": [
|
|
"src/module",
|
|
"src/bootstrap",
|
|
"test/all_spec",
|
|
"test/test_summaries",
|
|
"benchmarks/src/tree/ng2/index_aot.ts",
|
|
"benchmarks/src/tree/ng2_switch/index_aot.ts",
|
|
"benchmarks/src/largetable/ng2/index_aot.ts",
|
|
"benchmarks/src/largetable/ng2_switch/index_aot.ts"
|
|
]
|
|
} |