fix(compiler): enableLegacyTemplate should not be ignored (#17051)
Fixes #15555
This commit is contained in:
parent
ea8a43def0
commit
8ffa483bb6
|
@ -148,6 +148,7 @@ function _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {
|
||||||
defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
|
defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
|
||||||
providers: _mergeArrays(optionsArr.map(options => options.providers !)),
|
providers: _mergeArrays(optionsArr.map(options => options.providers !)),
|
||||||
missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
|
missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
|
||||||
|
enableLegacyTemplate: _lastDefined(optionsArr.map(options => options.enableLegacyTemplate)),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue