Skip to content

Angular shipped built-in support for Debug IDs #18923

Open

Description

@IchordeDionysos

Problem Statement

In the most recent release of Angular v22.1.0, Angular is generating Debug IDs:
https://github.com/angular/angular-cli/releases#release-v22.1.0
angular/angular-cli@0c18dc0

This helps to properly work with Angular's built-in subresource integrity hash generation.
Before Sentry would have changed the files after they have been generated by Angular, breaking the integrity hashes of the files.

Solution Brainstorm

Does this need an update of those two Angular documentation pages?

https://github.com/getsentry/sentry-docs/blob/master/docs/platforms/javascript/common/sourcemaps/uploading/angular-nx.mdx
https://github.com/getsentry/sentry-docs/blob/master/docs/platforms/javascript/common/sourcemaps/uploading/angular-webpack.mdx

We've been using nx with the Sentry CLI, so we simply stopped using the CLI, however, is there any option to disable the debug ID generation for Angular?

Activity

  1. linear-code commented on Aug 3, 2026

    @linear-code
  2. sansynx commented on Oct 10, 2026

    @sansynx
    Contributor

    I am checking this against Angular 22.1 and the Sentry CLI and SDK behavior before updating the guide. The change will keep the older webpack setup separate from the native Debug ID path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions