Skip to content

module-federation/metro

Repository files navigation

Metro Module Federation

About

This monorepo contains all the tools you'll need to adapt your React Native apps and start using Module Federation with Metro bundler.

Packages in this repo:

  • @module-federation/metro - Core integration with Metro to enable Module Federation
  • @module-federation/metro-plugin-rnc-cli - React Native CLI integration
  • @module-federation/metro-plugin-rnef - React Native Enterprise Framework integration

Note: Module Federation support for Metro bundler is still experimental and may lack some functionality or certain integrations.

Getting Started

For detailed setup instructions and configuration options, see the Metro Module Federation Core Package README.

Usage

The configuration follows the standard Module Federation configuration format. For detailed information about Module Federation concepts, configuration options, and usage patterns, please refer to the official Module Federation documentation.

Examples

This repository includes several example applications to help you get started:

For instructions on how to run these examples, see Running Examples in our Contributing Guide.

CLI Commands

For detailed information about available CLI commands see the React Native CLI Plugin README.

React Native Enterprise Framework (RNEF) Integration

For detailed information about RNEF integration and configuration, see the RNEF Plugin README.

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to set up the development environment and run examples.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support


Built with ❤️ by Callstack and Zephyr Cloud.