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:
parent
71498a407a
commit
96a828993f
|
@ -140,7 +140,12 @@ function updateAngularJsonToUseBazelBuilder(options: Schema): Rule {
|
|||
options: {
|
||||
targetLabel: '//src:prodapp',
|
||||
bazelCommand: 'build',
|
||||
}
|
||||
},
|
||||
configurations: {
|
||||
production: {
|
||||
targetLabel: '//src:prodapp',
|
||||
},
|
||||
},
|
||||
},
|
||||
indent);
|
||||
replacePropertyInAstObject(
|
||||
|
|
Loading…
Reference in New Issue