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:
parent
7e7ff2e0aa
commit
6911a250ef
|
@ -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,
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue