Is the AOT Compilation the default on angular@4.0.0?

后端 未结 1 816
时光说笑
时光说笑 2021-01-01 01:02

Is the AOT Compilation the default on angular@4.0.0 and angular/cli@1.0.0 ? We are migrating our apps today, and i don\'t know wheter its docs are still val

1条回答
  •  囚心锁ツ
    2021-01-01 01:35

    Since @angular/cli@1.0.0-beta.28 they've made the AOT compilation the default for production builds. If you do not want that (even though I strongly advice you for performance reasons to make your app AOT compatible), you can use the --aot=false argument for your build command

    0 讨论(0)
提交回复
热议问题