react /metro
🚇 The JavaScript bundler for React Native
★ 5,661⑂ 716👁 101⑃ 1,270● 804▤ 166
More from this author
+0
Daily
5,661
stars
716
forks
101
watchers
1,270
prs
804
issues
166
releases
README
Metro 🚇 The JavaScript bundler for React Native. - 🚅 Fast: We aim for sub-second reload cycles, fast startup and quick bundling speeds. - ⚖️ Scalable: Works with thousands of modules in a single application. - ⚛️ Integrated: Supports every React Native project out of the box. Installation Metro is included with React Native — see the React Native docs to quickly get started ⏱️. To add Metro to an existing project, see our Getting Started guide. Documentation All available documentation, including on configuring Metro, can be found on the Metro website. Source code for documentation is located in this repository under docs/. Contributing Metro was previously part of the react-native repository. In this standalone repository it is easier for the team working on Metro to respond to issues and pull requests. See react-native13976 for the initial announcement. Code of Conduct Meta has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated. Contributing guide Read our contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Metro. Discussions Larger discussions and proposals concerning React Native and Metro are discussed in @react-native-community/discussions-and-proposals. License Metro is MIT licensed, as found in the LICENSE file.
Top issues
#52Dynamic import not working44 comments · 2017-09-13#1480Module Federation Support22 comments · 2025-03-31#1405Error: EMFILE: too many open files, watch21 comments · 2024-12-14#104Respect/Merge Input Source Maps With Generated Source Map Data20 comments · 2017-12-06#331concurrent builds fail due to shared use of /tmp/metro-cache/18 comments · 2018-12-11#1377Importing Node-API .node modules in Expo Router API Routes?12 comments · 2024-10-27#519Ignoring packages during dependency resolution12 comments · 2020-02-19#814Metro seems to leave orphaned watchman watches frequently11 comments · 2022-05-03
Discussions
#1843Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available0 comments · 2026-08-10#1842Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available2 comments · 2026-08-10#1829Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available0 comments · 2026-08-10#1814Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available0 comments · 2026-08-10#1813Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available0 comments · 2026-08-10#1812Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available0 comments · 2026-08-10#1811Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available0 comments · 2026-08-10#1780Changes to a symlinked workspace package aren't picked up until a full Metro restart (Fast Refresh and manual reload both serve stale)3 comments · 2026-07-15
Latest release
v0.88.0 v0.88.0 2026-11-06- [Breaking]: Resolver: Read "exports" from the package root, and apply "browser" redirections after it, by default. Set resolver.unstable_resolveExportsFromPackageRoot and resolver.unstable_applyBrowserSpecAfterExports to false to opt out (https://github.com/react/metro/pull/2174 by @robhogan) - [Breaking]: Default transformer.asyncRequireModulePath and resolver.emptyModulePath to metro:runtime/..., which aren't file paths. Custom resolvers must delegate unhandled metro: specifiers to context.resolveRequest (https://github.com/react/metro/pull/2180 by @robhogan) - [Breaking]: Resolve the