Angular 9 Project is not working in production environment


Hello Techies, one day i am trying to fix issue that i face in production build <Ionic App> in production build the app stuck at splash screen it is not showing further anything, then i get to know that on some component.ts file we are using *nIf instead of *ngIf and below code helps me to debug this issue 🙂

First I tried disabling Ivy in, and its works fine. Which concludes that problem is with Ivy. Thanks to @user2846469

"angularCompilerOptions": {
   "enableIvy": false

Github Issue Clearly describes the problem and solutions in later comments


Please enter your comment!
Please enter your name here