-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: remove es2015 workaround #14066
build: remove es2015 workaround #14066
Conversation
With two commits (2adced1 and a22a9fa), we recently tried to add a workaround for an Angular bug that causes Angular Material to not work w/ ES2015. The workaround technically worked but had to be partially reverted because Google Closure compiler was no longer able to remove unused classes (due to a function with side-effects that modified the actual component metadata). Since the workaround (in the state it is right now) is not helping at all and a fix will land with Angular `v7.1.0` (angular/angular@95743e3) Closes angular#12760
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
With two commits (2adced1 and a22a9fa), we recently tried to add a workaround for an Angular bug that causes Angular Material to not work w/ ES2015. The workaround technically worked but had to be partially reverted because Google Closure compiler was no longer able to remove unused classes (due to a function with side-effects that modified the actual component metadata). Since the workaround (in the state it is right now) is not helping at all and a fix will land with Angular `v7.1.0` (angular/angular@95743e3) Closes #12760
NOT FIXED in 7.1.0. TS 3.1.6. See issue #14100 |
@svstartuplab As mentioned in the PR description. This is not a problem from the Angular Material side, so we cannot do much about it. Based on angular/angular@95743e3, this issue should be fixed if you use Angular Material |
I just upgraded to 7.1.0 from 6 a few days ago for Angular and Material and the problem started. I think I'm using the latest versions of everything. |
Angular Material v7.1.0 just came out yesterday. Can you please retry? Thanks! Also making sure that you are using Angular 7.1.0 as well. |
As mentioned, I am using 7.1.0. From npm view:
|
Okay, assuming that you use Angular v7.1.0 and In our code, the |
If your exception is Otherwise if there is a different exception, then this is an Angular issue that should be reported on here |
I'm no expert but I seem to be using the latest version.
|
Thanks. |
From package.json:
So something happened in the upgrade and it updated the registry but not the packages? |
Yeah, so that shows that you didn't update Angular and Angular Material to the latest version. Do you have a lock file? probably run Sorry, I cannot help more with the issue. Please consider asking on Stackoverflow. Thanks for the feedback though. |
Thank you. I did use both npm install and npm update. Just another computer mystery :-) |
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. |
With two commits (2adced1 and a22a9fa), we recently tried to add a workaround for an Angular bug that causes Angular Material to not work w/ ES2015.
The workaround technically worked but had to be partially reverted because Google Closure compiler was no longer able to remove unused classes (due to a function with side-effects that modified the actual component metadata).
Since the workaround (in the state it is right now) is not helping at all and a fix will land with Angular
v7.1.0
(angular/angular@95743e3), we are removing the workaround completely.Closes #12760