How can I disable AOT in angular2?

前端 未结 3 1643
臣服心动
臣服心动 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-10 00:17

    Just run command ng build -prod -aot=false. This will disable the aot compiler.

提交回复
热议问题