mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43604 Changelog: [Internal] Syncs the internal and OSS versions of `INTERNAL_CALLSITES_REGEX` in the default RN Metro config. Reviewed By: robhogan Differential Revision: D55237394 fbshipit-source-id: 8986a69f8beeafccbab3548d8a2137c0bf19e0b3
@react-native/metro-config
Installation
yarn add --dev @react-native/js-polyfills metro-config @react-native/metro-babel-transformer metro-runtime @react-native/metro-config
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/metro-config.