Skip to main content

One post tagged with "metro"

View All Tags

Package Exports Support in React Native

· 9 min read
Alex Hunt
Software Engineer at Meta

With the release of React Native 0.72, Metro — our JavaScript build tool — now includes beta support for the package.json "exports" field. When enabled, it adds the following functionality:

In this post we'll cover how Package Exports works, and what these changes mean for you as a React Native app developer or package maintainer.