Issue
According to the docs, there's nothing called .angular being regarded. Yet, in my project, I get that directory, immediately in the root of the project (on the same level as e.g. package.json).
It wasn't there before because my .gitignore would've barked at it. Currently, I'm trying out the latest Angular version, 13.0 and I conclude that it's a new addition to the tooling. Probably, it's some temporary stuff, since its contents are the following.
- .angular/cache/angular-webpack
- .angular/cache/babel-webpack
It was pointless to google .angular directory dot what is and the only (semi-)relevant hit I got was the docs linked above.
What's up with .angular directory and do I need to care (and/or version control it)?
Solution
".angular/cache" folder should be ignored by your version control system (git, svn etc...)
Example for git, add this line to .gitignore file
.angular/cache
(source : ng new command with @angular/cli v13)
Answered By - bmtheo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.