Skip to content

Commit 2a1667f

Browse files
committed
docs(@angular/build): add descriptions for application builder options
Adds more detailed descriptions for the `assets` and `outputHashing` options in the `@angular/build:application` builder's schema. This improves clarity for users configuring these options. Closes #31477
1 parent b72fa91 commit 2a1667f

File tree

1 file changed

+2
-2
lines changed
  • packages/angular/build/src/builders/application

1 file changed

+2
-2
lines changed

packages/angular/build/src/builders/application/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"properties": {
77
"assets": {
88
"type": "array",
9-
"description": "List of static application assets.",
9+
"description": "Define the assets to be copied to the output directory. These assets are copied as-is without any further processing or hashing.",
1010
"default": [],
1111
"items": {
1212
"$ref": "#/definitions/assetPattern"
@@ -441,7 +441,7 @@
441441
},
442442
"outputHashing": {
443443
"type": "string",
444-
"description": "Define the output filename cache-busting hashing mode.",
444+
"description": "Define the output filename cache-busting hashing mode.\n\n- `none`: No hashing.\n- `all`: Hash for all output bundles. \n- `media`: Hash for all output media (e.g., images, fonts, etc. that are referenced in CSS files).\n- `bundles`: Hash for output of lazy and main bundles.",
445445
"default": "none",
446446
"enum": ["none", "all", "media", "bundles"]
447447
},

0 commit comments

Comments
 (0)