Skip to content

Commit cc99297

Browse files
angular-robotthePunderWoman
authored andcommitted
docs: update Angular CLI help [main] (angular#57743)
Updated Angular CLI help contents. PR Close angular#57743
1 parent 685866d commit cc99297

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"branchName": "refs/heads/main",
3-
"sha": "3513cd179d428e6c8d6529f1010dac65282a8a44"
3+
"sha": "68b183ea5aeefa555ca0f7c25955d3d759acb5f7"
44
}

adev/src/content/cli/help/build.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@
6161
],
6262
"description": "Define the crossorigin attribute setting of elements that provide CORS support."
6363
},
64+
{
65+
"name": "define",
66+
"type": "array",
67+
"description": "Defines global identifiers that will be replaced with a specified constant value when found in any JavaScript or TypeScript code including libraries. The value will be used directly. String values must be put in quotes. Identifiers within Angular metadata such as Component Decorators will not be replaced."
68+
},
69+
{
70+
"name": "define",
71+
"type": "string",
72+
"description": "Defines global identifiers that will be replaced with a specified constant value when found in any JavaScript or TypeScript code including libraries. The value will be used directly. String values must be put in quotes. Identifiers within Angular metadata such as Component Decorators will not be replaced."
73+
},
6474
{
6575
"name": "delete-output-path",
6676
"type": "boolean",

adev/src/content/cli/help/serve.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@
3838
"default": false,
3939
"description": "Force the development server to use the 'browser-esbuild' builder when building. This is a developer preview option for the esbuild-based build system."
4040
},
41+
{
42+
"name": "headers",
43+
"type": "array",
44+
"description": "Custom HTTP headers to be added to all responses."
45+
},
46+
{
47+
"name": "headers",
48+
"type": "string",
49+
"description": "Custom HTTP headers to be added to all responses."
50+
},
4151
{
4252
"name": "help",
4353
"type": "boolean",

0 commit comments

Comments
 (0)