Skip to content

Commit c652ec7

Browse files
trycatchalKeen Yee Liau
authored andcommitted
docs: describe prod flag more explicitly
1 parent 19df935 commit c652ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/angular/cli/commands/definitions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
}
1515
},
1616
"configuration": {
17-
"description": "A named build target, as specified in the \"configurations\" section of angular.json.\nEach named target is accompanied by a configuration of option defaults for that target.",
17+
"description": "A named build target, as specified in the \"configurations\" section of angular.json.\nEach named target is accompanied by a configuration of option defaults for that target.\nSetting this explicitly overrides the \"--prod\" flag",
1818
"type": "string",
1919
"aliases": [
2020
"c"
2121
]
2222
},
2323
"prod": {
24-
"description": "When true, sets the build configuration to the production target.\nAll builds make use of bundling and limited tree-shaking. A production build also runs limited dead code elimination.",
24+
"description": "Shorthand for \"--configuration=production\".\nWhen true, sets the build configuration to the production target.\nBy default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.",
2525
"type": "boolean"
2626
}
2727
}

0 commit comments

Comments
 (0)