Welcome to React Native Esbuild
Highlights
- ⚡️ Blazing Fast Build
- 🌳 Supports Tree Shaking
- 💾 In-memory & Local File System Caching
- 🎨 Flexible & Extensible
- 🔥 Supports JSC & Hermes Runtime
- 🔄 Supports Live Reload
- 🐛 Supports Debugging(Flipper, Chrome Debugger)
- 🌍 Supports All Platforms(Android, iOS, Web)
- ✨ New Architecture Ready
- 🃏 Jest transformer included
👉 See a demo application built with a web target here (opens in a new tab).
Motivation
A Modern Bundler for React Native that supports all platforms.
React Native is a great application development framework based on the JavaScript ecosystem(including React community).
The JavaScript ecosystem is strong enough on its own, but React Native is mostly focused on developing native(Android, iOS) applications.
That's why I've developed a modern bundler that supports all platforms to take full advantage of React Native's strengths.
It aims to build for all platforms with just one bundler without complicated setup and provide a good development experience (like a super fast build, testing, etc).
Architecture
- Esbuild (opens in a new tab): for transform source and bundling (minify, mangle, tree shaking)
- Swc (opens in a new tab): for transform source to es5
- Sucrase (opens in a new tab): for strip flow syntax
- Babel (opens in a new tab): for transform with plugins