sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

Support multiple bundles on react-native using repack

Open oblador opened this issue 4 years ago • 1 comments

We are moving to use repack to bundle our React Native app to support bundle splitting. However the current sentry integration assumes a single bundle, so it will only upload the main one.

oblador avatar Nov 05 '21 10:11 oblador

@oblador I'm not too familiar with repack, but from the looks of it we would either need a repack-specific build script that detects the various bundles or if it outputs the output to a folder upload the whole contents of that folder. For now you should be able to instead upload each bundle generated by repack individually with the sentry-cli.

jennmueng avatar Jan 07 '22 08:01 jennmueng