Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Provide information to metro to redirect to rn-macos when building macos
  • Loading branch information
Andrew Coates committed Sep 8, 2020
commit 99b6a4b79c5c5151da127716d1b8229096d7206b
5 changes: 5 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ module.exports = {
projectConfig: android.projectConfig,
dependencyConfig: android.dependencyConfig,
},
macos: {
npmPackageName: isReactNativeMacOS
? 'react-native-macos'
: 'react-native',
},
},
/**
* Used when running RNTester (with React Native from source)
Expand Down