Open
Description
opened on Nov 18, 2024
Problem Statement
We use Nuxt layers to have a common base for multiple projects. After adding the @sentry/nuxt module and the client/server configuration files (sentry.*.config.ts
) to the base layer I had a hard time figuring out why sourcemaps weren't uploaded and Sentry wasn't initialised in the applications based on this layer.
Only after diving into
and I figured out that I had to put these files into the apps, as they wouldn't be found in the base layer.After I did that things started working as expected (I also moved/duplicated the sentry config key from the base layer to the apps nuxt.config file, not sure if that was necessary).
Solution Brainstorm
Either somehow involve layers into the resolution of these init files, or cleary document that layer based configuration is not supported.
Metadata
Assignees
Type
Projects
Status
No status
Activity