diff --git a/packages/expo/plugins/metro-resolver.ts b/packages/expo/plugins/metro-resolver.ts index 4b1fab107d06cc..74153d2404f291 100644 --- a/packages/expo/plugins/metro-resolver.ts +++ b/packages/expo/plugins/metro-resolver.ts @@ -205,6 +205,7 @@ function getPnpmResolver(extensions: string[]) { modules: [join(workspaceRoot, 'node_modules'), 'node_modules'], conditionNames: ['native', 'browser', 'require', 'default'], mainFields: ['react-native', 'browser', 'main'], + aliasFields: ['browser'], }); } return resolver;