0 votes
in Angular by
How do you use Bazel with Angular CLI?

1 Answer

0 votes
by

The @angular/bazel package provides a builder that allows Angular CLI to use Bazel as the build tool.

  1. Use in an existing applciation: Add @angular/bazel using CLI
    ng add @angular/bazel
  2. Use in a new application: Install the package and create the application with collection option
    npm install -g @angular/bazel
    ng new --collection=@angular/bazel

When you use ng build and ng serve commands, Bazel is used behind the scenes and outputs the results in dist/bin folder.

...