How can I disable AOT in angular2?

前端 未结 3 1647
臣服心动
臣服心动 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:24

    Update: For Angular 6+

    Use the following command to disable AOT mode:

    $ ng build --prod --aot=false --build-optimizer=false
    

提交回复
热议问题