Skip to content

Commit

Permalink
Fix for react-native.config.js
Browse files Browse the repository at this point in the history
react-native.config.js had the commands array as an object. This has been resolved. Fixes issue #124
  • Loading branch information
edcrampin authored Jul 24, 2019
1 parent 7e8463a commit b1fa2e8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = {
commands: {
prelink: "node ./node_modules/react-native-spinkit/scripts/rnpm-prelink.js",
},
commands: [
{
name: 'prelink',
func: () => {
exec("node ./node_modules/react-native-spinkit/scripts/rnpm-prelink.js");
},
},
],
};

0 comments on commit b1fa2e8

Please sign in to comment.