angularangular14upgrade

should .angular be in gitignore


I recently upgraded Angular from v12 to v14 using the ng update command and did the required modifications manually. The command added a .angular folder with a cache library that seems huge:

enter image description here

But it didn't add the cache folder to .gitignore.

Should I add .angular to my .gitignore?


Solution

  • Yes, after researching and repeating the process, the answer is yes, /.angular/cache should be added to .gitignore in Angular 14.