mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-02 17:18:58 +08:00
[RN] Unbreak packager
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
|
||||
2
packager/react-packager/index.js
vendored
2
packager/react-packager/index.js
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user