mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-10 09:29:39 +08:00
Add packager worker for Buck
Reviewed By: martinbigio Differential Revision: D3051886 fb-gh-sync-id: da19ee987c0ec04cde550147d57bd90d98712e14 shipit-source-id: da19ee987c0ec04cde550147d57bd90d98712e14
This commit is contained in:
committed by
Facebook Github Bot 6
parent
22e55d4396
commit
fa44607bf6
@@ -6,7 +6,6 @@
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
const bundleWithOutput = require('./bundle').withOutput;
|
||||
const outputUnbundle = require('./output/unbundle');
|
||||
@@ -14,8 +13,8 @@ const outputUnbundle = require('./output/unbundle');
|
||||
/**
|
||||
* Builds the bundle starting to look for dependencies at the given entry path.
|
||||
*/
|
||||
function unbundle(argv, config) {
|
||||
return bundleWithOutput(argv, config, outputUnbundle);
|
||||
function unbundle(argv, config, packagerInstance) {
|
||||
return bundleWithOutput(argv, config, outputUnbundle, packagerInstance);
|
||||
}
|
||||
|
||||
module.exports = unbundle;
|
||||
|
||||
Reference in New Issue
Block a user