build: set `preserveWhitespaces` to false by default on Bazel (#20783)

`preserveWhitespaces: false` will be the default in Angular 6+

You can opt-out at component or element level.

Docs: https://angular.io/api/core/Component#preserveWhitespaces

PR Close #20783
This commit is contained in:
Victor Berchet 2017-12-04 11:12:05 -08:00 committed by Igor Minar
parent 7e7ff2e0aa
commit 6911a250ef
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ def _ngc_tsconfig(ctx, files, srcs, **kwargs):
"allowEmptyCodegenFiles": True,
"enableSummariesForJit": True,
# FIXME: wrong place to de-dupe
"expectedOut": depset([o.path for o in expected_outs]).to_list()
"expectedOut": depset([o.path for o in expected_outs]).to_list(),
"preserveWhitespaces": False,
}
})