How to reduce angular application build time?

前端 未结 2 1605
感动是毒
感动是毒 2021-02-06 10:11

Index:

I am using angular cli - 7 and I am going to tell how to reduce the build time as per my knowledge.

Problem:

Now the days, lot of users and devel

2条回答
  •  不知归路
    2021-02-06 10:57

    Copied Answer From : https://github.com/angular/angular-cli/issues/17874#issuecomment-640568824

    ConcatenateModules is used for scope hoisting, which results in 2 things, smaller bundle sizes and faster code execution in the browser.

    If really want to disable concatenateModules which is not recommended you can use ngx-build-plus.

    From a CLI point of view, exposing a way to disable concatenateModules is out of scope, because we wouldn't like users to opt-out from key runtime performance and bundle size optimisations.

    Read More

提交回复
热议问题