Updating Angular versions
There are a couple of ways to update your Angular versions. One of the way is to uninstall and install angular CLI
npm uninstall -g angular-cli Or sudo npm uninstall -g angular-cli npm cache verify npm cache clean
We can verify and clean the cache using above commands.
Use the below command to install the latest Angular version.
npm install -g @angular/cli@latest
There are many advantages to use IVY compilers.
- Decrease in bundle size
- Faster testing
- Debugging and bug fixes are improved
- Comes with better css and style bundles
- Better type checking
- Better build errors
- decreased build time.