【发布时间】:2020-02-29 19:34:34
【问题描述】:
从 angular 9 开始,Angular 开始使用名为 IVY 的新渲染引擎,正如其文档所述,构建的代码在开发和生产环境中看起来相同并且易于调试,是否仍需要通过 --prod和--aot 构建代码时的选项
旧的构建命令
ng build --aot --prod
它是不是新命令应该看起来像
ng build //for both prod and dev build
或者只有 --prod 选项是 prod 构建所必需的
【问题讨论】:
标签: angular angular-cli angular9 angular-builder