Skip to content

Commit 2dd941c

Browse files
author
Angular Builds
committed
03e3bfc docs(@angular-devkit/build-angular): add descriptions for browser builder options
1 parent 7d1b0e3 commit 2dd941c

File tree

6 files changed

+31
-12
lines changed

6 files changed

+31
-12
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "20.3.5+sha-82f8900",
3+
"version": "20.3.5+sha-03e3bfc",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#82f8900",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#82f8900",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#82f8900",
13-
"@angular/build": "github:angular/angular-build-builds#82f8900",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#03e3bfc",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#03e3bfc",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#03e3bfc",
13+
"@angular/build": "github:angular/angular-build-builds#03e3bfc",
1414
"@babel/core": "7.28.3",
1515
"@babel/generator": "7.28.3",
1616
"@babel/helper-annotate-as-pure": "7.27.3",
@@ -21,7 +21,7 @@
2121
"@babel/preset-env": "7.28.3",
2222
"@babel/runtime": "7.28.3",
2323
"@discoveryjs/json-ext": "0.6.3",
24-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#82f8900",
24+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#03e3bfc",
2525
"ansi-colors": "4.1.3",
2626
"autoprefixer": "10.4.21",
2727
"babel-loader": "10.0.0",
@@ -71,7 +71,7 @@
7171
"@angular/platform-browser": "^20.0.0",
7272
"@angular/platform-server": "^20.0.0",
7373
"@angular/service-worker": "^20.0.0",
74-
"@angular/ssr": "github:angular/angular-ssr-builds#82f8900",
74+
"@angular/ssr": "github:angular/angular-ssr-builds#03e3bfc",
7575
"@web/test-runner": "^0.20.0",
7676
"browser-sync": "^3.0.2",
7777
"jest": "^29.5.0",

src/builders/browser/schema.d.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export type Schema = {
1212
*/
1313
aot?: boolean;
1414
/**
15-
* List of static application assets.
15+
* Define the assets to be copied to the output directory. These assets are copied as-is
16+
* without any further processing or hashing.
1617
*/
1718
assets?: AssetPattern[];
1819
/**
@@ -95,6 +96,12 @@ export type Schema = {
9596
optimization?: OptimizationUnion;
9697
/**
9798
* Define the output filename cache-busting hashing mode.
99+
*
100+
* - `none`: No hashing.
101+
* - `all`: Hash for all output bundles.
102+
* - `media`: Hash for all output media (e.g., images, fonts, etc. that are referenced in
103+
* CSS files).
104+
* - `bundles`: Hash for output of lazy and main bundles.
98105
*/
99106
outputHashing?: OutputHashing;
100107
/**
@@ -353,6 +360,12 @@ export type StylesClass = {
353360
};
354361
/**
355362
* Define the output filename cache-busting hashing mode.
363+
*
364+
* - `none`: No hashing.
365+
* - `all`: Hash for all output bundles.
366+
* - `media`: Hash for all output media (e.g., images, fonts, etc. that are referenced in
367+
* CSS files).
368+
* - `bundles`: Hash for output of lazy and main bundles.
356369
*/
357370
export declare enum OutputHashing {
358371
All = "all",

src/builders/browser/schema.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ var InlineStyleLanguage;
4848
})(InlineStyleLanguage || (exports.InlineStyleLanguage = InlineStyleLanguage = {}));
4949
/**
5050
* Define the output filename cache-busting hashing mode.
51+
*
52+
* - `none`: No hashing.
53+
* - `all`: Hash for all output bundles.
54+
* - `media`: Hash for all output media (e.g., images, fonts, etc. that are referenced in
55+
* CSS files).
56+
* - `bundles`: Hash for output of lazy and main bundles.
5157
*/
5258
var OutputHashing;
5359
(function (OutputHashing) {

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
},

src/utils/normalize-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.normalizeCacheOptions = normalizeCacheOptions;
1111
const node_path_1 = require("node:path");
1212
/** Version placeholder is replaced during the build process with actual package version */
13-
const VERSION = '20.3.5+sha-82f8900';
13+
const VERSION = '20.3.5+sha-03e3bfc';
1414
function hasCacheMetadata(value) {
1515
return (!!value &&
1616
typeof value === 'object' &&

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Tue Oct 14 2025 14:39:14 GMT+0000 (Coordinated Universal Time)
1+
Wed Oct 15 2025 11:35:26 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)