Deploy your React Native applications with Module Federation to Zephyr Cloud using Re.Pack and Rspack. The Zephyr Re.Pack plugin integrates seamlessly with Re.Pack's build process and supports cross-platform mobile applications.
This detects your bundler and configures Zephyr automatically. Learn more →
For manual setup, continue below.
Install the Re.Pack plugin in your project:
Add the Zephyr plugin to your Rspack configuration by wrapping it with withZephyr:
You can continue using your existing Module Federation configuration from Re.Pack. We recommend using the new Re.Pack Module Federation as it provides better runtime support for cross-platform applications.
For detailed Re.Pack setup, refer to Re.Pack's documentation and check out Callstack's Super App Showcase for reference implementations.
Configure shared dependencies to ensure single instances of critical modules like React and React Native:
Re.Pack supports platform-specific builds for iOS and Android. The ${platform} variable in remote URLs automatically resolves to the target platform: