Closed
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.js
includes 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
--org
and--project
opts 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.map
files 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
Type
Projects
Status
No status