-
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
Verify if removeDecorators transform is needed with Ivy #16070
Comments
@alxhub confirmed that this is still needed, ngcc removes the top-level decorators, but not the rest of the metadata (inputs, ctor parameters, etc). |
I misunderstood actually, I thought that comment was about the app compile but it was @alxhub says:
So we should be ok to not run this transform on Ivy apps. |
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. |
For a given service, Ivy outputs this:
and VE outputs this:
The CLI actually has a dedicated pass to remove the
__decorate
call in https://github.com/angular/angular-cli/blob/master/packages/ngtools/webpack/src/transformers/remove_decorators.ts.If it's not needed in Ivy, we could disable that pass for faster builds and rebuilds.
The text was updated successfully, but these errors were encountered: