How can I disable AOT in angular2?

前端 未结 3 1640
臣服心动
臣服心动 2021-02-10 00:00

I got something like this:

ng build --prod --no-aot

But I am not able to understand what is the difference between

ng build --         


        
3条回答
  •  清酒与你
    2021-02-10 00:34

    The flag --prod does the AOT compilation by default. If you want to build without AOT then simply run ng build only without any flag.

提交回复
热议问题