-1

I tried to upgrade angular project from version 8 to 9. After upgrade, i didnot find enableIvy option in tsconfig file. Shall i need to add enableIvy as true inside tsconfig manually ? or Default it is true ?

user6044627
  • 100
  • 11

1 Answers1

1

In angular 9 its enabled by default. In docs

Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and runtime instructions are used by default instead of the older compiler and runtime, known as View Engine.

Arun Mohan
  • 1,207
  • 1
  • 5
  • 11
  • Ok, so no need for enbleIvy as true in tsconfig correct? – user6044627 May 11 '20 at 13:54
  • In my project when we did the migration from 7 to 9. Ivy was enabled by default. – Arun Mohan May 11 '20 at 13:58
  • In your project any property like enableIvy in tsconfig appears after upgrading from 7 to 9 – user6044627 May 11 '20 at 14:00
  • Nope. I haven't seen such flag – Arun Mohan May 11 '20 at 14:03
  • Ok, same in my project also. But some reference ( not angular doc) saying about need to enableIvy as true. I got confused. For ensuring Ivy enabled or not I posted this question. Thanks Arun. – user6044627 May 11 '20 at 14:17
  • Hello, I am migrating from angular 8 to angular 9, I want to disable Ivy as it is affecting many existing functionalities of my project. I am not able to find the option enableIvy in my tsconfig file. Is there any other way of disabling Ivy in in angular 9? – Deeksha Mulgaonkar Jun 02 '21 at 02:24
  • @DeekshaMulgaonkar Please have a look https://angular.io/guide/ivy#opting-out-of-ivy-in-version-9 – Arun Mohan Jun 02 '21 at 05:13