Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

release-react has no option to store bundle file? #565

@igorclark

Description

@igorclark

Hi there, we're trying to use an error reporting service which needs to have RN bundle and sourcemap files uploaded in order to show the full JS trace. code-push release-react gives us the --sourcemapOutput option so we can pass the sourcemap path we want through to react-native bundle, but it doesn't seem to have a matching --bundleOutput option.

Maybe it wouldn't work because of the way it bundles files inside the Code Push blobs, but is there any way this could get added? Or is there another way to do this? What I'm thinking right now is that I'd need to run the code-push release-react command to push the code, then run the react-native bundle command to generate the new bundle and sourcemap files, then upload them. But I'm not 100% sure that the generated files would be identical, and it'd also be great to be able to remove the second bundle command.

Is that even possible?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions