-
-
Save albertoammar/8cf2b3739675b886c3c9da63f8ddbb28 to your computer and use it in GitHub Desktop.
Configure metro.config.js to use symbolic link in react native
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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