Skip to content

Commit 03e3bfc

Browse files
committed
docs(@angular-devkit/build-angular): add descriptions for browser builder options
Adds more detailed descriptions for the `assets` and `outputHashing` options in the `@angular-devkit/build-angular:browser` builder's schema. This improves clarity for users configuring these options. (cherry picked from commit 00b7d74)
1 parent 2f4bc09 commit 03e3bfc

File tree

1 file changed

+2
-2
lines changed
  • packages/angular_devkit/build_angular/src/builders/browser

1 file changed

+2
-2
lines changed

packages/angular_devkit/build_angular/src/builders/browser/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"
@@ -319,7 +319,7 @@
319319
},
320320
"outputHashing": {
321321
"type": "string",
322-
"description": "Define the output filename cache-busting hashing mode.",
322+
"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.",
323323
"default": "none",
324324
"enum": ["none", "all", "media", "bundles"]
325325
},

0 commit comments

Comments
 (0)