简体   繁体   English

从 angular 8 升级到 angular 9 时,在 tsconfig 文件中未显示 enableIvy 选项

[英]enableIvy option is not showing in tsconfig file while upgrading from angular 8 to angular 9

I tried to upgrade angular project from version 8 to 9. After upgrade, i didnot find enableIvy option in tsconfig file.我尝试将 angular 项目从版本 8 升级到 9。升级后,我在 tsconfig 文件中没有找到 enableIvy 选项。 Shall i need to add enableIvy as true inside tsconfig manually?我需要在 tsconfig 中手动将 enableIvy 添加为 true 吗? or Default it is true?还是默认是真的?

In angular 9 its enabled by default.在 angular 9 中默认启用。 In docs在文档中

Ivy is the code name for Angular's next-generation compilation and rendering pipeline. Ivy 是 Angular 下一代编译和渲染管道的代号。 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.在 Angular 的第 9 版发布中,默认使用新的编译器和运行时指令,而不是旧的编译器和运行时指令,即 View Engine。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM