mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46703 Updates us in line with the release branch and unblocks https://github.com/facebook/react-native/pull/46627. Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D63544047 fbshipit-source-id: 4c093e6c2fc389888f12063df013db7023761859
@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.