@callstack/repack v3.7.0
Re.Pack is a next generation of Haul — a Webpack-based bundler for React Native applications.
Re.Pack uses Webpack 5 and React Native CLI's plugin system to allow you to bundle your application using Webpack and allow to easily switch from Metro.
Check the base webpack.config.js
template, if you're curious how it all looks like.
Features
- Webpack ecosystem, plugins and utilities
- Build production bundle for iOS, Android and out-of-tree platforms
- Build development bundle for iOS, Android and out-of-tree platforms
- Development server with support for:
- Remote JS debugging
- Source Map symbolication
- Hot Module Replacement and React Refresh
- Reloading application from CLI using
r
key
- Built-in Hot Module Replacement + React Refresh support
- Flipper support:
- Crash Reporter,
- Application logs
- Layout
- Network
- Hermes debugger
- React DevTools
- Development server (debugging/verbose) logs
- Hermes support:
- Running the production/development bundle using Hermes engine
- Transforming production bundle into bytecode bundle
- Inspecting running Hermes engine with Flipper
- Code splitting (experimental):
- Dynamic
import()
support with and withoutReact.lazy()
(recommended). - Manual chunks using
entry
option (only for advanced users).
- Dynamic
- Web Dashboard with compilation status, server logs and artifacts.
Planned features
ChunksToHermesBytecodePlugin
plugin to automatically transform async chunks to bytecode format.webpack-init
command- Module Federation support
Documentation
The documentation is available at: https://re-pack.netlify.app/
You can also use the following links to jump to specific topics:
Made with ❤️ at Callstack
@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 hello@callstack.com 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! 🔥
14 days ago
21 days ago
1 month ago
5 months ago
9 months ago
10 months ago
6 months ago
7 months ago
7 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago