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: {
|
options: {
|
||||||
targetLabel: '//src:prodapp',
|
targetLabel: '//src:prodapp',
|
||||||
bazelCommand: 'build',
|
bazelCommand: 'build',
|
||||||
}
|
},
|
||||||
|
configurations: {
|
||||||
|
production: {
|
||||||
|
targetLabel: '//src:prodapp',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
indent);
|
indent);
|
||||||
replacePropertyInAstObject(
|
replacePropertyInAstObject(
|
||||||
|
|
Loading…
Reference in New Issue