Angular 8: Why we should use Bazel for Angular builds?

Technology CommunityCategory: AngularAngular 8: Why we should use Bazel for Angular builds?
VietMX Staff asked 3 years ago

Bazel allows us to build at scale. Ideally, the initial build time with Bazel will be comparable to the traditional JavaScript tooling; the difference is that the time will not grow exponentially when our application’s size increases. With Bazel most of the time the build time will stay constant.

Many large projects report a significant increase in their incremental builds when their codebase grows. By analyzing the build graph provided by the BUILD.bazel files, Bazel rebuilds only the packages which have changed and nothing else.