Open renchap opened 5 months ago
@renchap Thank you for opening the issue, I'll label this as feature request and we'll discuss this internally.
I've renamed this issue to track compatibility with both https://microsoft.github.io/rnx-kit/docs/tools/metro-serializer and https://microsoft.github.io/rnx-kit/docs/tools/metro-serializer-esbuild
metro-serializer-esbuild
is an alternative serializer for React Native that usesesbuild
, allowing a better tree-shaking of your bundle. This is useful in multiple cases, for example if you use the Font Awesome SVG iconsUnfortunately, it does not work with
createSentryMetroSerializer
because you need to callcreateSentryBundleCallback
when you provide a custom serializer, which is not done when you use a third party serializer.