diff --git a/packager/react-packager/src/Packager/__tests__/Packager-test.js b/packager/react-packager/src/Packager/__tests__/Packager-test.js index 3040e0982..8e1420a3a 100644 --- a/packager/react-packager/src/Packager/__tests__/Packager-test.js +++ b/packager/react-packager/src/Packager/__tests__/Packager-test.js @@ -132,7 +132,7 @@ describe('Packager', function() { __packager_asset: true, isStatic: true, path: '/root/img/img.png', - name: 'img', + uri: 'img', width: 25, height: 50, deprecated: true, diff --git a/packager/react-packager/src/Packager/index.js b/packager/react-packager/src/Packager/index.js index 79dd6f23d..8563e2728 100644 --- a/packager/react-packager/src/Packager/index.js +++ b/packager/react-packager/src/Packager/index.js @@ -181,7 +181,7 @@ Packager.prototype.generateAssetModule_DEPRECATED = function(ppackage, module) { __packager_asset: true, isStatic: true, path: module.path, - name: module.id.replace(/^[^!]+!/, ''), + uri: module.id.replace(/^[^!]+!/, ''), width: dimensions.width / module.resolution, height: dimensions.height / module.resolution, deprecated: true,