diff --git a/packager.js b/packager.js index c719b860..f2d526e0 100644 --- a/packager.js +++ b/packager.js @@ -86,7 +86,9 @@ if (options.root) { if (options.assetRoots) { if (!Array.isArray(options.assetRoots)) { - options.assetRoots = options.assetRoots.split(','); + options.assetRoots = options.assetRoots.split(',').map(function (dir) { + return path.resolve(process.cwd(), dir); + }); } } else { if (__dirname.match(/node_modules\/react-native\/packager$/)) {