Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/platform-includes/sourcemaps/overview/javascript.remix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ Remix can be configured to output source maps using Remix CLI. Learn more about

Source maps can be uploaded to Sentry by creating a release. Learn more about [how to upload source maps](./uploading/).


### 3: Remove Remix Source Maps

Remix validly discourages the user to have source maps in production. After uploading the maps to Sentry we suggest you delete the `.map` files, here's a simple example in bash:

```bash
rm ./public/**/*.map
rm ./build/**/*.map
```

<Note>

By default, if Sentry can't find the uploaded files it needs, it will attempt to download them from the URLs in the stack trace. To disable this, turn off "Enable JavaScript source fetching" in either your organization's "Security & Privacy" settings or your project's general settings.
Expand Down