From cc99297e60cc7d7f7da31603a37dc68c66ab38ff Mon Sep 17 00:00:00 2001 From: Angular Robot Date: Mon, 9 Sep 2024 18:16:10 +0000 Subject: [PATCH] docs: update Angular CLI help [main] (#57743) Updated Angular CLI help contents. PR Close #57743 --- adev/src/content/cli/help/build-info.json | 2 +- adev/src/content/cli/help/build.json | 10 ++++++++++ adev/src/content/cli/help/serve.json | 10 ++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/adev/src/content/cli/help/build-info.json b/adev/src/content/cli/help/build-info.json index 58faedde780244..7027d8c0fe3a20 100644 --- a/adev/src/content/cli/help/build-info.json +++ b/adev/src/content/cli/help/build-info.json @@ -1,4 +1,4 @@ { "branchName": "refs/heads/main", - "sha": "3513cd179d428e6c8d6529f1010dac65282a8a44" + "sha": "68b183ea5aeefa555ca0f7c25955d3d759acb5f7" } \ No newline at end of file diff --git a/adev/src/content/cli/help/build.json b/adev/src/content/cli/help/build.json index b994d22df381ab..631aa537c6be30 100644 --- a/adev/src/content/cli/help/build.json +++ b/adev/src/content/cli/help/build.json @@ -61,6 +61,16 @@ ], "description": "Define the crossorigin attribute setting of elements that provide CORS support." }, + { + "name": "define", + "type": "array", + "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." + }, + { + "name": "define", + "type": "string", + "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." + }, { "name": "delete-output-path", "type": "boolean", diff --git a/adev/src/content/cli/help/serve.json b/adev/src/content/cli/help/serve.json index 14b5774994387f..24a4573891f2d3 100644 --- a/adev/src/content/cli/help/serve.json +++ b/adev/src/content/cli/help/serve.json @@ -38,6 +38,16 @@ "default": false, "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." }, + { + "name": "headers", + "type": "array", + "description": "Custom HTTP headers to be added to all responses." + }, + { + "name": "headers", + "type": "string", + "description": "Custom HTTP headers to be added to all responses." + }, { "name": "help", "type": "boolean",