【发布时间】:2018-02-15 15:30:43
【问题描述】:
带有 ngc 的 AOT 和 rollup 有什么不同
ngc -p tsconfig-aot.json && rollup -c rollup-config.js
https://angular.io/guide/aot-compiler#aot-quickstart-source-code
和 使用 Angular CLI 的 AOT
ng 构建 --aot
https://github.com/angular/angular-cli/wiki/build
两种配置都非常不同,哪一种更好或更喜欢。
【问题讨论】:
-
my answer有什么不清楚的地方吗?
标签: angular angular-aot