mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
This commit is contained in:
parent
71f08d2cb2
commit
fc52ed6301
@ -69,7 +69,11 @@ if (options.assetRoots) {
|
||||
options.assetRoots = options.assetRoots.split(',');
|
||||
}
|
||||
} else {
|
||||
options.assetRoots = [path.resolve(__dirname, '..')];
|
||||
if (__dirname.match(/node_modules\/react-native\/packager$/)) {
|
||||
options.assetRoots = [path.resolve(__dirname, '../../..')];
|
||||
} else {
|
||||
options.assetRoots = [path.resolve(__dirname, '..')];
|
||||
}
|
||||
}
|
||||
|
||||
console.log('\n' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user