Skip to content

Commit

Permalink
Only enable ios autolinking when v8-ios is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Jul 2, 2023
1 parent 5830d37 commit 2b151bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"expo/",
"!expo/build",
"expo-module.config.json",
"react-native.config.js",
"app.plugin.js",
"plugin/",
"RNV8.podspec",
Expand Down
8 changes: 8 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
dependency: {
platforms: {
// Only enable ios autolinking when v8-ios is installed
ios: !!require.resolve('v8-ios/package.json'),
},
},
};

0 comments on commit 2b151bd

Please sign in to comment.