-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: remixIssues related to the Sentry Remix SDKIssues related to the Sentry Remix SDK
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.81.1
Framework Version
Remix 2.1.0
Link to Sentry event
n/a
SDK Setup
Omitting; this bug is sufficiently described with just the results of sentry-cli sourcemaps inject. (It hasn't been significantly modified from the results of following the setup guide, though.)
Steps to Reproduce
- Configure a Remix app using create-remix
- Make sure the
remix.config.jsincludes a URL value forpublicPath- Mine points to a public S3 bucket
- Follow the Sentry docs for setting up the Remix SDK
- This includes creating a Sentry account and project, to be used as the
--organd--projectopts in a later step
- This includes creating a Sentry account and project, to be used as the
- Run
npx remix build --sourcemap - Run
npx sentry-cli sourcemaps inject --org <org> --project <project> --deleteAfterUpload=false - Inspect any of the generated
.js.mapfiles inpublic/build/
Expected Result
For any given .js file in the Remix build output, both that source file and its .js.map file should contain a comment like this:
//# debugId=<uuid>Actual Result
Each .js file contains the //# debugId=<uuid> comment, but none of the .js.map files do.
Metadata
Metadata
Assignees
Labels
Package: remixIssues related to the Sentry Remix SDKIssues related to the Sentry Remix SDK
Projects
Status
No status