Discussion on: Angular + Bazel: Getting ready!

blackholegalaxy profile image

Thanks for this great introduction!

Some questions for you!

With standard CLI build, we can rely on different environment.ts files. For example: environment.staging.ts. angular.json allowed replacement of default environment.ts file with the environment specific one depending on configuration when running ng build --configuration=staging for example.

How this can be achieve when migrating to Bazel? Adding bazel to project basically deletes everything related to specific configurations and file replacements.

afifalfiano profile image
Afif Alfiano

I have the same problem, any solution for this issue?