getsentry / getsentry/sentry-javascript

[RR7] Move debugId injection to vite plugin instead of buildEnd

Open
#15,468 0 comments 0 reactions 1 assignee Claimed by @chargome View on GitHub
Improvement
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Description

In the first version we rely on the SentryCli for injecting debugIds. As this modifies the final build output and can interfere with integrity checks we want to move the injection of debugIds back into the vite plugin. This will require some modifications to the buildEnd hook as there is currently no mapping between source files and map files during the build.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.