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
8.25.0
Framework Version
8.25.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
The Sentry module does not seem to take into account the srcDir
config, it only uses the buildDir
: https://github.com/getsentry/sentry-javascript/blob/master/packages/nuxt/src/module.ts#L30
The current work around is to create a client file both under your srcDir
(ie. /src) and in your buildDir
(ie /)
With the upcoming Nuxt 4 change where the src files will live in another dir, we should fix this
Expected Result
We should read sentry.client.config
from the srcDir
without needing a copy in the buildDir
Actual Result
rollup throws an error if there's nothing in "srcDir"
Metadata
Metadata
Assignees
Type
Projects
Status
No status