-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
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/react
SDK Version
7.102.0
Framework Version
React 18.2.0
Link to Sentry event
SDK Setup
const { sentryEsbuildPlugin } = require('@sentry/esbuild-plugin');
sentryEsbuildPlugin({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'our-org',
project: 'client-ui',
release: {
name: `Heroku-v${(parseInt(process.env.HEROKU_RELEASE_VERSION.slice(1)) + 1)}`
},
sourcemaps: {
filesToDeleteAfterUpload: process.env.NODE_ENV === 'production' ? [
'/**/app.js-*.map',
'/**/app.js-*.map.gz',
'/**/admin.js-*.map',
'/**/admin.js-*.map.gz'
] : [
'/**/admin.js-*.map',
'/**/admin.js-*.map.gz'
]
}
})build logs
[sentry-esbuild-plugin] Info: Sending error and performance telemetry data to Sentry. To disable telemetry, set `options.telemetry` to `false`.
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[sentry-esbuild-plugin] Warning: Didn't find any matching sources for debug ID upload. Please check the `sourcemaps.assets` option.
Steps to Reproduce
do you want us to share out build script?
Expected Result
Source maps should be uploaded
Actual Result
Source maps not uploaded
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Community