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: docs/platforms/javascript/common/sourcemaps/uploading/esbuild.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,9 @@ This guide assumes you're using a Sentry **SDK version `7.47.0` or higher**. If
12
12
13
13
<Alertlevel="danger">
14
14
15
-
The Sentry esbuild plugin doesn't work correctly, if you set `splitting: true` in your esbuild config.
16
-
If you rely on code splitting, use [Sentry CLI](../cli) to upload source maps instead.
15
+
The Sentry esbuild plugin doesn't fully support esbuild configurations, with `splitting: true`.
16
+
If you rely on code splitting, use the esbuild plugin with <PlatformLinkto="/sourcemaps/troubleshooting_js/legacy-uploading-methods/#uploading-using-sentry-bundler-plugins-on-version-2x">legacy source maps upload</PlatformLink>
17
+
or <PlatformLinkto="/sourcemaps/uploading/cli/">Sentry CLI</PlatformLink> to upload source maps instead.
Copy file name to clipboardExpand all lines: platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,12 @@ Sentry.init({
123
123
124
124
## Uploading using Sentry Bundler Plugins on Version `2.x`
125
125
126
-
If you are using a Sentry self-hosted or single-tenant on version `23.6.1` or lower, or you are using the Sentry JavaScript SDK on version `7.46.0` you will need to configure the bundler plugins with the `release.uploadLegacySourcemaps` option.
126
+
If you're using
127
+
- Sentry self-hosted or single-tenant on version `23.6.1` or lower
128
+
- or the Sentry JavaScript SDK on version `7.46.0`
129
+
- or esbuild with `splitting: true`
130
+
131
+
you'll need to configure the bundler plugins with the `release.uploadLegacySourcemaps` option.
127
132
128
133
This applies when using the following packages on version `2.x` and above:
0 commit comments