angular - 我在 Angular 中使用动态编译器,但它只适用于视图引擎,但不推荐使用视图引擎
问题描述
我得到这个信息:
Project is attempting to disable the Ivy compiler. Angular versions 12 and higher do not support the deprecated View Engine compiler for applications. The Ivy compiler will be used to build this project.
For additional information or if the build fails, please see https://angular.io/guide/ivy
所以我的 NPM 包只适用于视图引擎,因为动态编译不适用于 Ivy,因为它是 AOT。
那么我可以做些什么来使用动态编译为 Ivy 构建创建呢?
解决方案
没关系,我的包也适用于常春藤。关闭。
推荐阅读
- flutter - 如何在颤振应用程序中将分隔线扩展到整个窗口宽度?
- javascript - 循环遍历动态表时遇到问题
- python - QLineEdit 更改 PlaceholderText 颜色
- microsoft-graph-api - 如何在 msgraph-sdk-dotnet-auth 身份验证提供程序中设置 MaxRetry 值
- gsm - 配置 NetworkManager 以在蜂窝连接处于活动状态时通过 WiFi 路由本地 wlan 数据以进行调试
- gnucobol - GnuCOBOL 微不足道的“回声”功能
- python - 更改熊猫数据框中的数据类型更改过滤结果
- r - 在 R 中写入 excel 文件时创建粗体列名(列名)
- css - 如何使用tailwindcss更改悬停宽度
- javascript - 不和谐中的自动角色分配