refactor(compiler): don’t always compile .ngfactory.ts files by default

This puts the behavior introduced in 573b8611bc behind the new flag
`alwaysCompileGeneratedCode` to not break users that might have relied
on this behavior.
This commit is contained in:
Tobias Bosch
2017-06-12 14:10:08 -07:00
committed by Alex Rickabaugh
parent 6ca46929fa
commit ed73d4f3ac
5 changed files with 51 additions and 7 deletions

View File

@ -1,7 +1,8 @@
{
"angularCompilerOptions": {
"annotationsAs": "static fields",
"annotateForClosureCompiler": true
"annotateForClosureCompiler": true,
"alwaysCompileGeneratedCode": true
},
"compilerOptions": {