JSPM

@react-native/metro-config

0.78.0-nightly-20241130-91e217ff5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 834093
  • Score
    100M100P100Q201350F
  • License MIT

Metro configuration for React Native.

Package Exports

  • @react-native/metro-config
  • @react-native/metro-config/package.json

Readme

@react-native/metro-config

Version

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:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/metro-config.