Enhanced productivity. Reliable builds. Speed up build times by 10x. Cut test times by 3x. Implement Bazel the smart way and join the era of faster build and test.

.bazelrc flags you should enable

AuthorAlex Eagle
Apr 28, 20222 min read

I suggest you add these lines to your .bazelrc file as early in your project as possible. Add one at a time and let the dust settle, as they can be breaking. See a complete .bazelrc file here: https://github.com/aspect-build/bazel-examples/blob/main/...

Bazel: Avoiding eager fetches
Customize Bazel with Aspect CLI plugins
Deterministic npm dependencies with Bazel
Python toolchains in rules_python
Documentation in source control