mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b0f6a05650
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44179 Fix `package.json#exports` main entry point in `react-native/oss-library-example` (which is actually at `packages/react-native-test-library`), to fix a Metro resolver warning on building RN-tester. `"./": "./index.js"` is intended as an export map entry for the main export, whereas `".": "./index.js"` is correct (see [`PACKAGE_EXPORTS_RESOLVE`](https://nodejs.org/api/esm.html) spec). Changelog: [Internal] (This package is not published) Reviewed By: cortinico, dmytrorykun Differential Revision: D56414480 fbshipit-source-id: 01874cf11ae687aaf5aa5aa56075232f03d691b8
Important
This package is for testing only. It is a subject to frequent change. It does not represent the recomended structure for React native libraries. It should not be used as a referece for such purposes.
Building
yarn install
yarn build
npx react-native codegen