8000 Angular build options not working as expected for application-builder · Issue #30064 · angular/angular-cli · GitHub
[go: up one dir, main page]

Skip to content
Angular build options not working as expected for application-builder #30064
@coder-ashwin

Description

@coder-ashwin

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

Yes

Description

I want to highlight 3 things when using the application-builder

  1. namedChunks: true
    The chunks of modules and standalone components are not getting named, its coming as chunk-hashValue.js

  2. outputHashing: false
    A hash value is being appended to main.js, styles.css, etc file names even tho I have set that property to false

  3. hash value in ngsw.json
    hash values of files which are not modified are changing. (This is working as expected for media files, if I make a change in a svg or something, only that file's hash value is changed and other file's hash value remains the same but that is not the case for code files). This is most likely due to points 1 and 2 but not sure

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 19.2.1
Node: 18.20.5
Package Manager: npm 10.8.2
OS: darwin arm64

Angular: 19.2.1
... animations, build, cli, common, compiler, compiler-cli, core
... forms, platform-browser, platform-browser-dynamic, router
... service-worker

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1902.1
@angular-devkit/core         19.2.1
@angular-devkit/schematics   19.2.1
@angular/cdk                 19.2.2
@angular/material            19.2.2
@schematics/angular          19.2.1
rxjs                         7.8.2
typescript                   5.7.3
zone.js                      0.15.0

Anything else?

Output after ng build:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0