5

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?

Lorraine R.
  • 1,545
  • 1
  • 14
  • 39
  • 4
    `/.angular/cache` should be ignored, looks like that got [done for me](https://github.com/textbook/salary-stats/commit/f3a60105b7070585a9eaf5ebe83b6268f572cf62) in the 12-13 migration, did you skip a step? – jonrsharpe Jul 13 '22 at 07:59

1 Answers1

7

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

paulsm4
  • 114,292
  • 17
  • 138
  • 190
Lorraine R.
  • 1,545
  • 1
  • 14
  • 39