InterviewHubPRO
Section Overview
Q135

Question 135 of 283

Part 6: Decorators, Dependency Injection & Tooling (124 - 150)

48%
Angular & Signals (283 Qs)•Part 6: Decorators, Dependency Injection & Tooling (124 - 150)

How do you run Bazel directly?

Sometimes you may want to bypass the Angular CLI builder and run Bazel directly using Bazel CLI. You can install it globally using @bazel/bazel npm package. i.e, Bazel CLI is available under @bazel/bazel package. After you can apply the below common commands,

bash
bazel build [targets] # Compile the default output artifacts of the given targets.
bazel test [targets] # Run the tests with *_test targets found in the pattern.
bazel run [target] # Compile the program represented by target and then run it.