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
feat(nuxt): add silent, errorHandler, release to SourceMapsOptions (getsentry#15246)
This pull request includes changes to enhance the configuration options
for managing Sentry source maps in a Nuxt.js project. The most important
changes include adding new options to suppress logs, handle errors
during release creation, and manage Sentry releases.
Enhancements to Sentry source maps configuration:
*
[`packages/nuxt/src/common/types.ts`](diffhunk://#diff-199725da81bbdbb2e85f3dfe2b1a2bf453b4c9755059e5050815d7fcde2f59a5R11-R41):
Added `silent`, `errorHandler`, and `release` options to the
`SourceMapsOptions` type to provide more control over logging, error
handling, and release management.
*
[`packages/nuxt/src/vite/sourceMaps.ts`](diffhunk://#diff-d511a0577f152ed6476e519722483c904cd2878586fdcd27f71c5587036bee37R96-R98):
Updated the `getPluginOptions` function to include the new `silent`,
`errorHandler`, and `release` options, allowing them to be used during
the source maps upload process.
Before submitting a pull request, please take a look at our
[Contributing](https://github.com/getsentry/sentry-javascript/blob/master/CONTRIBUTING.md)
guidelines and verify:
- [x] If you've added code that should be tested, please add tests.
- [x] Ensure your code lints and the test suite passes (`yarn lint`) &
(`yarn test`).
---------
Co-authored-by: Sigrid Huemer <32902192+s1gr1d@users.noreply.github.com>
0 commit comments