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
The option `'hidden'` works like `true`, but suppresses the source map reference comments that would be added to the end of each generated file in the build output.
175
175
176
+
When opening browser developer tools, browsers attempt to fetch source maps through reference comments at the end of bundled files.
177
+
After those source maps are uploaded to Sentry during the build process and the SDK removes these client-side source maps, any reference to source maps would trigger 404 errors in the developer tools.
178
+
The `'hidden'` option prevents these reference comments from being generated, stopping browsers from attempting to fetch non-existent map files.
179
+
This approach eliminates unnecessary network errors in browser developer tools.
180
+
176
181
Explicitly enabling client source maps is necessary because Nuxt sets default values for source maps ([Nuxt docs](https://nuxt.com/docs/api/nuxt-config#sourcemap)), and the Sentry Nuxt Module keeps these settings when they are explicitly defined.
0 commit comments