You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed many Angular projects had issues after upgrading app to v12. Such as : #42799, #21654, #20792
The thing I noticed is they are all (at least so far I seen) using custom webpack builders which I think this causes issues or conflicts during ng update migration.
Update: Just noticed from other user too while trying to help via this solution
Describe the solution you'd like
Possible solution: remove custom builder (from angular.json) and webpack config temporary while upgrading via ng update then after succesfull migration reset @angular-devkit/.. with custom builder.
Since while upgrade the application does not need compilation it should not cause errors. Another possible solution: ng update should complain that we are using custom builder. Remove it first then perform ng update.
Describe alternatives you've considered
Alternative solution is to remove manually . See this reply but many folks do not know about that. They should come across to this reply by luck to fix that. We can either add this to documentation or remove custom builder temporary as possible solution mentioned above or ng update should complain that we use custom builder.
The text was updated successfully, but these errors were encountered:
vugar005
changed the title
[FE] Remove custom webpack builder and config temporary while upgarding Angular version via ng update
Remove custom webpack builder and config temporary while upgarding Angular version via ng update
Aug 27, 2021
🚀 Feature request
Command (mark with an
x
)Description
I noticed many Angular projects had issues after upgrading app to v12. Such as : #42799, #21654, #20792
The thing I noticed is they are all (at least so far I seen) using custom webpack builders which I think this causes issues or conflicts during ng update migration.
Update: Just noticed from other user too while trying to help via this solution
Describe the solution you'd like
Possible solution: remove custom builder (from angular.json) and webpack config temporary while upgrading via ng update then after succesfull migration reset @angular-devkit/.. with custom builder.
Since while upgrade the application does not need compilation it should not cause errors.
Another possible solution: ng update should complain that we are using custom builder. Remove it first then perform ng update.
Describe alternatives you've considered
Alternative solution is to remove manually . See this reply but many folks do not know about that. They should come across to this reply by luck to fix that. We can either add this to documentation or remove custom builder temporary as possible solution mentioned above or ng update should complain that we use custom builder.
The text was updated successfully, but these errors were encountered: