perf(core): add option to remove blank text nodes from compiled templates (#18823)
PR Close #18823
This commit is contained in:

committed by
Miško Hevery

parent
7ec28fe9af
commit
b8b551cf2b
@ -90,6 +90,10 @@ interface Options extends ts.CompilerOptions {
|
||||
// matched by the `files` / `includes` in the `tsconfig.json`.
|
||||
// This is off by default.
|
||||
alwaysCompileGeneratedCode?: boolean;
|
||||
|
||||
// Whether to remove blank text nodes from compiled templates. It is `true` by default
|
||||
// in Angular 5 and will be re-visited in Angular 6.
|
||||
preserveWhitespaces?: boolean;
|
||||
}
|
||||
|
||||
export default Options;
|
||||
|
Reference in New Issue
Block a user