refactor(platform-browser-dynamic): keep preserveWhitespaces default setting in one place (#18772)

CompilerConfig should be the only source of default settings for preserveWhitespaces
so let's not enforce defaults on the CompilerOptions level.

PR Close #18772
This commit is contained in:
Pawel Kozlowski 2017-08-18 11:58:13 +02:00 committed by Miško Hevery
parent 713d7c2360
commit 1f1caacbfd
1 changed files with 0 additions and 1 deletions

View File

@ -161,7 +161,6 @@ export class JitCompilerFactory implements CompilerFactory {
defaultEncapsulation: ViewEncapsulation.Emulated, defaultEncapsulation: ViewEncapsulation.Emulated,
missingTranslation: MissingTranslationStrategy.Warning, missingTranslation: MissingTranslationStrategy.Warning,
enableLegacyTemplate: true, enableLegacyTemplate: true,
preserveWhitespaces: true,
}; };
this._defaultOptions = [compilerOptions, ...defaultOptions]; this._defaultOptions = [compilerOptions, ...defaultOptions];