fix(bazel): restore ng build --prod (#30005)

`ng build` by default builds the prodapp because there is not
a dev build in Bazel. This PR restores the `--prod` to do the
same to prevent achitect from showing missing config error.

PR Close #30005
This commit is contained in:
Keen Yee Liau 2019-04-20 10:41:41 -07:00 committed by Ben Lesh
parent 71498a407a
commit 96a828993f
1 changed files with 6 additions and 1 deletions

View File

@ -140,7 +140,12 @@ function updateAngularJsonToUseBazelBuilder(options: Schema): Rule {
options: {
targetLabel: '//src:prodapp',
bazelCommand: 'build',
}
},
configurations: {
production: {
targetLabel: '//src:prodapp',
},
},
},
indent);
replacePropertyInAstObject(