Steps for add ivy in your application for increasing performance:
1. Run command
npm I -g @agular/cli@next
2. In tsconfig.json file replace es2015 to esnext and add
"angularCompilerOptions": {
"enableIvy": true,
"allowEmptyCodegenFiles": true
}
3. In angular.json file do aot is true.
aot:true
4. In package.json add in script object
"postinstall": "ngcc",
5. Next, build your angular project using command- ng build -- aot
Angular is TypeScript-based open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS.