Skip to content
Proyek

Tentang

๐Ÿš‡ Bundler JavaScript untuk React Native

Pengembangan web dan aplikasi

Cara angka ini diukur

5,666 bintang721 Fork +2 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+2
dalam 7 hari
+3
dalam 15 hari
+5
dalam 1 bulan
+4

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Metro

MIT licensed npm package version react/metro/nightly-tests Code coverage Follow @MetroBundler on Twitter

๐Ÿš‡ 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-native#13976 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.

Package managers

Metro is developed with Yarn (v1), and yarn.lock is the source of truth for dependency versions - commit changes to yarn.lock, not pnpm-lock.yaml.

pnpm is also supported, by generating a (git-ignored) pnpm-lock.yaml from yarn.lock:

pnpm import
pnpm install --frozen-lockfile

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.

Jelajahi proyek terkait

Memuatโ€ฆ