Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rnx-kit Serializers with createSentryMetroSerializer #3748

Open
renchap opened this issue Apr 8, 2024 · 2 comments
Open

Support rnx-kit Serializers with createSentryMetroSerializer #3748

renchap opened this issue Apr 8, 2024 · 2 comments

Comments

@renchap
Copy link

renchap commented Apr 8, 2024

metro-serializer-esbuild is an alternative serializer for React Native that uses esbuild, allowing a better tree-shaking of your bundle. This is useful in multiple cases, for example if you use the Font Awesome SVG icons

Unfortunately, it does not work with createSentryMetroSerializer because you need to call createSentryBundleCallback when you provide a custom serializer, which is not done when you use a third party serializer.

@krystofwoldrich
Copy link
Member

@renchap Thank you for opening the issue, I'll label this as feature request and we'll discuss this internally.

@krystofwoldrich krystofwoldrich changed the title Support metro-serializer-esbuild usage with createSentryMetroSerializer Support rnx-kit Serializers with createSentryMetroSerializer May 6, 2024
@krystofwoldrich
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Backlog
Development

No branches or pull requests

2 participants