Bring back accidentally reverted changes from 89fc8a4d7f
This commit is contained in:
parent
7e9bbb61bf
commit
c370d1ad4e
|
@ -69,7 +69,11 @@ if (options.assetRoots) {
|
|||
options.assetRoots = options.assetRoots.split(',');
|
||||
}
|
||||
} else {
|
||||
if (__dirname.match(/node_modules\/react-native\/packager$/)) {
|
||||
options.assetRoots = [path.resolve(__dirname, '../../..')];
|
||||
} else {
|
||||
options.assetRoots = [path.resolve(__dirname, '..')];
|
||||
}
|
||||
}
|
||||
|
||||
console.log('\n' +
|
||||
|
|
Loading…
Reference in New Issue