Commit 9bcf7a9
committed
fix(@angular-devkit/build-angular): define
By configuring the optimizer (`terser`) to be aware that the Angular `forwardRef` helper function is a pure function, the optimizer can completely remove the helper call when the return value is unused.
(cherry picked from commit c94a196)forwardRef as a pure function1 parent 495bf64 commit 9bcf7a9
File tree
1 file changed
+1
-0
lines changed- packages/angular_devkit/build_angular/src/webpack/configs
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| 431 | + | |
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
| |||
0 commit comments