Skip to content

Chunk hashes not updating for localized build #1908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NogaMan opened this issue Mar 27, 2025 · 0 comments
Open

Chunk hashes not updating for localized build #1908

NogaMan opened this issue Mar 27, 2025 · 0 comments

Comments

@NogaMan
Copy link

NogaMan commented Mar 27, 2025

Describe the Bug

Angular has some code that regenerates chunk hashes for localized builds when there is a change in translations. The code was introduced here angular/angular-cli#16817

It works as expected for native Angular build, but breaks if used with custom webpack config. The hashes are not updated even if you make modifications to translation files

The problem might be with the incorrect hashing type used.

Minimal Reproduction

https://github.com/NogaMan/angular-builders-hashing-problem-repro

Expected Behavior

Chunk hashes updated

Environment


Libs
@angular-devkit/architect       0.1902.5
@angular-devkit/build-angular   19.2.5
@angular-devkit/core            19.2.5
@angular-devkit/schematics      19.2.5
@angular/cli                    19.2.5
@schematics/angular             19.2.5
rxjs                            7.8.2
typescript                      5.8.2
zone.js                         0.15.0

@angular-builders/custom-webpack 19.0.0

For Tooling issues:
- Node version: v20.13.1
- Platform:  Mac

Others:

Additional Context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant