fix(ivy): take preserveWhitespaces config option into account (FW-650) (#27197)

PR Close #27197
This commit is contained in:
Andrew Kushnir
2018-11-20 10:51:16 -08:00
committed by Jason Aden
parent 9e391e010c
commit d819c00fee
5 changed files with 47 additions and 5 deletions

View File

@ -60,7 +60,7 @@ export class DecorationAnalyzer {
new BaseDefDecoratorHandler(this.typeChecker, this.host),
new ComponentDecoratorHandler(
this.typeChecker, this.host, this.scopeRegistry, this.isCore, this.resourceLoader,
this.rootDirs),
this.rootDirs, /* defaultPreserveWhitespaces */ false),
new DirectiveDecoratorHandler(this.typeChecker, this.host, this.scopeRegistry, this.isCore),
new InjectableDecoratorHandler(this.host, this.isCore),
new NgModuleDecoratorHandler(this.typeChecker, this.host, this.scopeRegistry, this.isCore),