Apologies as this is more of an usage question (or a documentation request). I noticed a bundle command was added in #8 but there was no context as to what it is useful for.
The CircleCI landing page specifies that the dev tools could be used in Linux https://circleci.com/circleci-react/
My understanding is that the react-native bundle command could be used in Linux containers and a MacOS container would then just need to compile via xcode and skip the JS bundling altogether, thus saving on some of the time required to keep mac VMs online.
I suspect running the bundle command may help with that. The js bundle would need to be sent to the MacOS runner, and a SKIP_BUNDLING=true env variable might be needed (as per https://github.com/facebook/react-native/blob/master/scripts/react-native-xcode.sh#L30) so that XCode doesn't bundle it itself.
None of this seems to be documented anywhere though. 😕
Am I on the right track?
Apologies as this is more of an usage question (or a documentation request). I noticed a bundle command was added in #8 but there was no context as to what it is useful for.
The CircleCI landing page specifies that the dev tools could be used in Linux https://circleci.com/circleci-react/
My understanding is that the
react-native bundlecommand could be used in Linux containers and a MacOS container would then just need to compile via xcode and skip the JS bundling altogether, thus saving on some of the time required to keep mac VMs online.I suspect running the
bundlecommand may help with that. The js bundle would need to be sent to the MacOS runner, and aSKIP_BUNDLING=trueenv variable might be needed (as per https://github.com/facebook/react-native/blob/master/scripts/react-native-xcode.sh#L30) so that XCode doesn't bundle it itself.None of this seems to be documented anywhere though. 😕
Am I on the right track?