A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.
MIT License
Re.Pack is a next generation of Haul — a Webpack-based bundler for React Native applications.
Re.Pack uses Rspack (or Webpack 5) and React Native Community CLI's plugin system to allow you to bundle your application using Webpack and easily switch from Metro.
r
keyChunksToHermesBytecodePlugin
plugin to transform async chunks into Hermes bytecodeimport()
support with and without React.lazy()
(recommended).GET /api/platforms
- platforms with active compilations.GET /api/:platform/assets
- assets emitted from compilation.GET /api/:platform/stats
- data about compilation.@callstack/repack-init
- tool that automates the integration of the Re.Pack into React Native projectsExplore examples of React Native applications using Re.Pack here: https://github.com/callstack/repack-examples.
For a more comprehensive example of a Super App setup with Module Federation please visit our Super App Showcase repository.
The documentation is available at re-pack.dev.
You can also use the following links to jump to specific topics:
@callstack/repack
is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Callstack is a group of React and React Native geeks, contact us at [email protected] if you need any help with these or just want to say hi!
Like the project? ⚛️ Join the team who does amazing stuff for clients and drives React Native Open Source! 🔥