Skip to content

Commit

Permalink
Exclude react-native-flipper when NO_FLIPPER=1 to prevent iOS bui…
Browse files Browse the repository at this point in the history
…ld fail
  • Loading branch information
retyui committed Dec 20, 2022
1 parent 9f78517 commit 4ebba36
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions template/react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
dependencies: {
...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
},
project: {
ios: {},
android: {},
},
};

0 comments on commit 4ebba36

Please sign in to comment.