fix(compiler): enableLegacyTemplate should not be ignored (#17051)

Fixes #15555
This commit is contained in:
Andrew Mitchell 2017-05-30 15:19:42 -05:00 committed by Victor Berchet
parent ea8a43def0
commit 8ffa483bb6
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ function _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {
defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
providers: _mergeArrays(optionsArr.map(options => options.providers !)),
missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
enableLegacyTemplate: _lastDefined(optionsArr.map(options => options.enableLegacyTemplate)),
};
}