From b18d73b568f75bcac006bb3b3f67d8206ace2678 Mon Sep 17 00:00:00 2001 From: Alex Kotliarskyi Date: Tue, 18 Aug 2015 17:36:35 -0700 Subject: [PATCH] [RN] Unbreak packager --- packager/getFlowTypeCheckMiddleware.js | 2 +- packager/react-packager/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packager/getFlowTypeCheckMiddleware.js b/packager/getFlowTypeCheckMiddleware.js index 3b6597610..4ef2fd0c5 100644 --- a/packager/getFlowTypeCheckMiddleware.js +++ b/packager/getFlowTypeCheckMiddleware.js @@ -11,7 +11,7 @@ var chalk = require('chalk'); var exec = require('child_process').exec; var url = require('url'); -var Activity = require('./react-packager/src/Activity'); +var Activity = require('./react-packager').Activity; var hasWarned = {}; diff --git a/packager/react-packager/index.js b/packager/react-packager/index.js index 4d87733fd..23a15c095 100644 --- a/packager/react-packager/index.js +++ b/packager/react-packager/index.js @@ -22,7 +22,7 @@ exports.middleware = function(options) { return server.processRequest.bind(server); }; -exports.activityEvents = Activity.eventEmitter; +exports.Activity = Activity; // Renamed "package" to "bundle". But maintain backwards // compat.