diff --git a/react-native/metro.config.js b/react-native/metro.config.js index ea9b5fddd..dc7aa1739 100644 --- a/react-native/metro.config.js +++ b/react-native/metro.config.js @@ -8,6 +8,10 @@ const config = { unstable_allowRequireContext: true, }, resolver: { + // Connect-ES and Protobuf-ES use package exports + // (https://nodejs.org/docs/latest-v12.x/api/packages.html#packages_exports). + // + // We need to enable support for them in Metro. See https://metrobundler.dev/docs/package-exports/ unstable_enablePackageExports: true, }, };