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:
parent
713d7c2360
commit
1f1caacbfd
|
@ -161,7 +161,6 @@ export class JitCompilerFactory implements CompilerFactory {
|
|||
defaultEncapsulation: ViewEncapsulation.Emulated,
|
||||
missingTranslation: MissingTranslationStrategy.Warning,
|
||||
enableLegacyTemplate: true,
|
||||
preserveWhitespaces: true,
|
||||
};
|
||||
|
||||
this._defaultOptions = [compilerOptions, ...defaultOptions];
|
||||
|
|
Loading…
Reference in New Issue