-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[build-optimizer] Ivy code is not full tree shaken / marked @PURE #11796
Comments
Seems like we don't use the |
On a hunch I searched for angular-cli/packages/angular_devkit/build_optimizer/src/transforms/prefix-classes.ts Line 30 in 44086c6
Possible alternatives:
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Building an app with Ivy and optimizations on, I see the following code still there:
Before Uglify:
After Uglify (with mangle off):
We would expect the first snippet to have a
@PURE
annotation on it following the@class
, and the function not to be there at all after uglify.The text was updated successfully, but these errors were encountered: