You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platform-includes/sourcemaps/overview/javascript.remix.mdx
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,10 @@ Please refer to the [Remix CLI docs](https://remix.run/docs/en/main/other-api/de
60
60
61
61
### Remove Remix Source Maps
62
62
63
-
Remix validly discourages hosting source maps in production. After uploading the maps to Sentry, we suggest you delete the `.map` files. Here's a simple shell command example:
63
+
Remix validly discourages hosting source maps in production. After uploading the maps to Sentry, we suggest you delete the `.map` files.
64
+
The `sentry-upload-sourcemaps` script will automatically try to delete all generated source maps after they're uploaded (unless the `--deleteAfterUpload` flag is provided).
65
+
66
+
If you want to be extra sure they're deleted, you can use the following shell script:
0 commit comments