NxEnterprise
    Nx
    feat(angular-rspack): emit subresource integrity for lazy chunks on Angular v22 (#35935) ## Current Behavior `@nx/angular-rspack` exposes `subresourceIntegrity`, but only initial scripts receive an integrity attribute. Under Angular v22 - whose `@angular/build` emits an integrity importmap for dynamically imported chunks - lazy chunks built with `@nx/angular-rspack` ship without subresource integrity protection. ## Expected Behavior On Angular v22+, SRI builds emit a `<script type="importmap">` block carrying a sha384 hash for every lazy chunk, matching `@angular/build`'s application builder, so dynamically imported chunks are validated by the browser. Behavior on Angular 20/21 is unchanged. <!-- polygraph-session-start --> --- [View session information ↗](https://snapshot.app.trypolygraph.com/orgs/69cdc268b6aa527e4129c2b4/sessions/angular-v22-76d725d8) <!-- polygraph-session-end -->
    nx affected --targets=lint,test,build,e2e,e2e-ci,format-native,lint-native,gradle:build-ci,vale,run
Sign in / Sign up
Succeeded
CI Pipeline Execution

nx affected --targets=lint,test,build,e2e,e2e-ci,format-native,lint-native,gradle:build-ci,vale,run

Click to copy
read-write access token used
0afaeb8d35851
75%

Cache hits

541 of 721 tasks used cache.

89%

Distribution saved time

19m 08s instead of 2h 59m 41s.

Atomizer enabled

48 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools