From 9d80ce2898f7b4127a3f973ecd1dc99e6f7c81d0 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Wed, 4 Jan 2017 06:56:43 -0800 Subject: [PATCH] Use `version` from `packager/package.json` for cache key Reviewed By: jeanlauliac Differential Revision: D4380910 fbshipit-source-id: 25d980bdf46046c3d53a4b2e120fd86a5534af6a --- react-packager/src/Bundler/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/Bundler/index.js b/react-packager/src/Bundler/index.js index 396888ef..d7d2240c 100644 --- a/react-packager/src/Bundler/index.js +++ b/react-packager/src/Bundler/index.js @@ -23,7 +23,7 @@ const ModuleTransport = require('../lib/ModuleTransport'); const declareOpts = require('../lib/declareOpts'); const imageSize = require('image-size'); const path = require('path'); -const version = require('../../../../package.json').version; +const version = require('../../../package.json').version; const denodeify = require('denodeify'); const defaults = require('../../../defaults');