How to speed up the Angular build process

前端 未结 6 1819
予麋鹿
予麋鹿 2020-12-23 11:17

After making some changes in my TypeScript files, each build takes over 20 minutes. I run this command: ng build --output-path=..\\..\\static\\angularjs.

<
6条回答
  •  悲哀的现实
    2020-12-23 12:02

    While in dev mode you can change this flag for your development to

    "buildOptimizer": false
    

    This worked for me . Angular 7 .

提交回复
热议问题