Skip to content

Instantly share code, notes, and snippets.

@6pm
Last active June 10, 2020 08:50
Show Gist options
  • Save 6pm/5bc82e1fc87165ed43ecd8fd314d35f4 to your computer and use it in GitHub Desktop.
Save 6pm/5bc82e1fc87165ed43ecd8fd314d35f4 to your computer and use it in GitHub Desktop.
metro.config.js
const path = require('path');
// react-native >= 0.57
const extraNodeModules = {
'qb-core': path.resolve(__dirname + '/../qb-core/'),
};
const watchFolders = [
path.resolve(__dirname + '/../qb-core/')
];
module.exports = {
resolver: {
extraNodeModules,
},
watchFolders
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment