fix(ngcc): do not output duplicate ɵprov properties (#34085)
Previously, the Angular AOT compiler would always add a `ɵprov` to injectables. But in ngcc this resulted in duplicate `ɵprov` properties since published libraries already have this property. Now in ngtsc, trying to add a duplicate `ɵprov` property is an error, while in ngcc the additional property is silently not added. // FW-1750 PR Close #34085
This commit is contained in:

committed by
Miško Hevery

parent
658087be7e
commit
2fb9b7ff1b
@ -39,7 +39,7 @@
|
||||
"master": {
|
||||
"uncompressed": {
|
||||
"runtime-es2015": 2289,
|
||||
"main-es2015": 267979,
|
||||
"main-es2015": 267389,
|
||||
"polyfills-es2015": 36808,
|
||||
"5-es2015": 751
|
||||
}
|
||||
@ -49,7 +49,7 @@
|
||||
"master": {
|
||||
"uncompressed": {
|
||||
"runtime-es2015": 2289,
|
||||
"main-es2015": 227232,
|
||||
"main-es2015": 226528,
|
||||
"polyfills-es2015": 36808,
|
||||
"5-es2015": 779
|
||||
}
|
||||
|
Reference in New Issue
Block a user