From 64b59d7eb8fd830e814aad4d6b1682a5d051d018 Mon Sep 17 00:00:00 2001 From: MeAkib Date: Fri, 16 Oct 2026 00:13:49 +0600 Subject: [PATCH] docs(@angular/cli): correct CSS resource output location in `ng build` description The long description stated that resources referenced in CSS, such as images and fonts, are written and fingerprinted at the root of the output folder. The application builder writes them to the `media` directory of the browser output, which is configurable with `outputPath.media`, and only adds a hash when `outputHashing` is `all` or `media`. --- packages/angular/cli/src/commands/build/long-description.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/angular/cli/src/commands/build/long-description.md b/packages/angular/cli/src/commands/build/long-description.md index b2c14d8f23fe..cba16adeb716 100644 --- a/packages/angular/cli/src/commands/build/long-description.md +++ b/packages/angular/cli/src/commands/build/long-description.md @@ -13,6 +13,7 @@ Note that in the configuration file, you must specify names in camelCase. Some additional options can only be set through the configuration file, either by direct editing or with the `ng config` command. These include `assets`, `styles`, and `scripts` objects that provide runtime-global resources to include in the project. -Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder. +Resources in CSS, such as images and fonts, are automatically written to the `media` directory of the browser output +(configurable with the `outputPath.media` option) and fingerprinted when `outputHashing` is set to `all` or `media`. For further details, see [Workspace Configuration](reference/configs/workspace-config).