mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-14 19:11:48 -10:00
762 B
762 B
Configuration
React Native CLI has a configuration mechanism that allows changing its behavior and providing additional features.
Note: Configuring CLI used to be possible via
rn-cli.config.js(that has been renamed tometro.config.js) and never documentedrnpmentry on thepackage.json. We have provided migration guides where possible.
React Native CLI can be configured by creating a react-native.config.js at the root of the project. Depending on the type of a package, the set of valid properties is different.
Check the documentation for
to learn more about different types of configuration and features available.