From 2273e012c0e562b3c175799876a4a97ff3db7169 Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Wed, 16 Mar 2016 06:56:18 -0700 Subject: [PATCH] Fixes OSS build: haste module -> commonJS invariant Reviewed By: mkonicek Differential Revision: D3058276 fb-gh-sync-id: 07b98608f4e684b0e192f64743a82717e65772ea shipit-source-id: 07b98608f4e684b0e192f64743a82717e65772ea --- Libraries/Image/AssetSourceResolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Image/AssetSourceResolver.js b/Libraries/Image/AssetSourceResolver.js index 3acbdc9bf415e6..e8ed94c66a08ab 100644 --- a/Libraries/Image/AssetSourceResolver.js +++ b/Libraries/Image/AssetSourceResolver.js @@ -24,7 +24,7 @@ const PixelRatio = require('PixelRatio'); const Platform = require('Platform'); const assetPathUtils = require('../../local-cli/bundle/assetPathUtils'); -const invariant = require('invariant'); +const invariant = require('fbjs/lib/invariant'); /** * Returns a path like 'assets/AwesomeModule/icon@2x.png'