-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ngcc): remove
__decorator
calls even when part of the IIFE retu…
…rn statement (#33777) Previously we only removed `__decorate()` calls that looked like: ``` SomeClass = __decorate(...); ``` But in some minified scenarios this call gets wrapped up with the return statement of the IIFE. ``` return SomeClass = __decorate(...); ``` This is now removed also, leaving just the return statement: ``` return SomeClass; ``` PR Close #33777
- Loading branch information
1 parent
9c6ee5f
commit d21471e
Showing
2 changed files
with
119 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters