Skip to content

Conversation

@gladiuscode
Copy link
Owner

Goal

This PR updates the library configuration to:

  1. Properly expose both CommonJS and ESM modules through the exports keyword;
  2. Instruct react-native-builder-bob to emit both modules and typescript types so that metro bundler can find them;
  3. Properly expose the app.plugin.js file so that Expo can find the plugin and use it in the CGN setup;

Thanks again to the community for the help.

More here: callstack/react-native-builder-bob#837

@gladiuscode gladiuscode self-assigned this Jun 25, 2025
@gladiuscode gladiuscode added the enhancement New feature or request label Jun 25, 2025
@gladiuscode gladiuscode merged commit 38d0df1 into main Jun 25, 2025
@gladiuscode gladiuscode deleted the feat/setup-exports branch June 25, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants