mirror of https://github.com/status-im/metro.git
[RN] Unbreak packager
This commit is contained in:
parent
02b8f264ef
commit
90ca49cbd6
|
@ -11,7 +11,7 @@
|
||||||
var chalk = require('chalk');
|
var chalk = require('chalk');
|
||||||
var exec = require('child_process').exec;
|
var exec = require('child_process').exec;
|
||||||
var url = require('url');
|
var url = require('url');
|
||||||
var Activity = require('./react-packager/src/Activity');
|
var Activity = require('./react-packager').Activity;
|
||||||
|
|
||||||
var hasWarned = {};
|
var hasWarned = {};
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ exports.middleware = function(options) {
|
||||||
return server.processRequest.bind(server);
|
return server.processRequest.bind(server);
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.activityEvents = Activity.eventEmitter;
|
exports.Activity = Activity;
|
||||||
|
|
||||||
// Renamed "package" to "bundle". But maintain backwards
|
// Renamed "package" to "bundle". But maintain backwards
|
||||||
// compat.
|
// compat.
|
||||||
|
|
Loading…
Reference in New Issue