diff --git a/packages/bazel/src/schematics/ng-add/index.ts b/packages/bazel/src/schematics/ng-add/index.ts index bb3234a1f0..9bb354900d 100755 --- a/packages/bazel/src/schematics/ng-add/index.ts +++ b/packages/bazel/src/schematics/ng-add/index.ts @@ -127,14 +127,9 @@ function updateAngularJsonToUseBazelBuilder(options: Schema): Rule { recorder, architect, 'build', { builder: '@angular/bazel:build', options: { - targetLabel: '//src:bundle.js', + targetLabel: '//src:prodapp', bazelCommand: 'build', - }, - configurations: { - production: { - targetLabel: '//src:bundle', - }, - }, + } }, indent); replacePropertyInAstObject(