-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
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/nuxt
SDK Version
10.11.0
Framework Version
3.17.6
Link to Sentry event
Reproduction Example/SDK Setup
sentry.client.config.ts
import * as Sentry from '@sentry/nuxt';
Sentry.init({
environment: useRuntimeConfig().public.Environment,
release: useRuntimeConfig().public.BuildId,
dsn: useRuntimeConfig().public.SentryDsn,
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0,
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: useRuntimeConfig().public.Environment === 'production' ? 0.1 : 1.0,
// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,
// If you don't want to use Session Replay, just remove the line below:
integrations: [Sentry.replayIntegration()],
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
sentry.server.config.ts
import * as Sentry from '@sentry/nuxt';
Sentry.init({
environment: useRuntimeConfig().public.Environment,
release: useRuntimeConfig().public.BuildId,
dsn: useRuntimeConfig().public.SentryDsn,
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
nuxt.config.ts
-- Truncated --
sentry: {
org: 'revolutionrace-ab',
project: 'storefront-nuxt',
authToken: process.env.SentryAuthToken,
release: {
name: buildId,
},
},
sourcemap: { client: 'hidden' },
-- Truncated --
Steps to Reproduce
- Create a nuxt project.
- Add pinia according to the documentation.
- Add @sentry/nuxt
- Make sure sourcemaps are uploaded
- Trigger an error within the pini store code.
- Check it in the Sentry ui.
- Notice that the code is minified in the ui.
Expected Result
I expect all ts, js and vue code to be visible non minified within the Sentry UI.
Actual Result


Additional Context
Maybe we are missunderstanding what parts work for sourcemap info.
Metadata
Metadata
Assignees
Projects
Status
No status