2018-06-10 02:12:56 +00:00
|
|
|
const path = require('path');
|
|
|
|
const blacklist = require('metro/src/blacklist');
|
2018-05-07 15:26:26 +00:00
|
|
|
|
|
|
|
module.exports = {
|
2018-06-10 02:12:56 +00:00
|
|
|
extraNodeModules: {
|
|
|
|
'prop-types': path.resolve(__dirname, 'node_modules/prop-types'),
|
|
|
|
'react': path.resolve(__dirname, 'node_modules/react'),
|
|
|
|
'react-native': path.resolve(__dirname, 'node_modules/react-native')
|
|
|
|
},
|
|
|
|
getBlacklistRE: () => blacklist([
|
|
|
|
/[/\\]Users[/\\]dylan[/\\]repos[/\\]react-native-fast-image[/\\]node_modules[/\\]react-native[/\\].*/
|
|
|
|
]),
|
2018-05-07 15:26:26 +00:00
|
|
|
getProjectRoots: () => [
|
|
|
|
// Include current package as project root
|
|
|
|
path.resolve(__dirname),
|
|
|
|
// Include symlinked packages as project roots
|
2018-06-10 02:12:56 +00:00
|
|
|
path.resolve('/Users/dylan/repos/react-native-fast-image')
|
2018-05-07 15:26:26 +00:00
|
|
|
],
|
2018-06-10 02:12:56 +00:00
|
|
|
};
|