Skip to content

sourcemap upload can't rewrite sources paths inside maps #2576

Backlog

Description

@sentry-junior

sentry sourcemap upload has no way to rewrite the sources paths inside a source map. v2's --strip-prefix did that (with rewriting on). In v4, --strip-prefix and --strip-common-prefix only rename the uploaded files. The only change made to sources is turning backslashes into forward slashes (mutateSourcemap in packages/cli/src/lib/sourcemap/debug-id.ts).

via @BYK.

--

View Session [Sentry]

Activity

  1. linear-code commented on Nov 27, 2026

    @linear-code
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions