ng build --prod warning is confusing #20806
Labels
area: @angular/cli
freq1: low
Only reported by a handful of users who observe it rarely
severity1: confusing
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, as part of the new default for
ng build
.Description
Previously developers were expected to run
ng build --prod
, when you do so now you get the warning$ ng build --prod Option "--prod" is deprecated: Use "--configuration production" instead.
, but this warning is confusing. As a developer I'm not actually supposed to use --configuration production, but insteadng build
. Perhaps we could mention the new default?🔬 Minimal Reproduction
🔥 Exception or Error
The text was updated successfully, but these errors were encountered: