mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-08 07:53:15 +08:00
Convert internal react-native-cli
Summary: In this diff I change the internal react-native cli to use our new configuration. Another change here is that Metro starts using the new configuration already as its entry points (like `metro#runMetro`). Reviewed By: rafeca Differential Revision: D8728612 fbshipit-source-id: 9f43dee31ebaccd35cf6274d5c4dec0a227a6eec
This commit is contained in:
committed by
Facebook Github Bot
parent
c3d31cd1de
commit
f0daaf3568
@@ -16,11 +16,11 @@ const outputBundle = require('metro/src/shared/output/bundle');
|
||||
/**
|
||||
* Builds the bundle starting to look for dependencies at the given entry path.
|
||||
*/
|
||||
function bundleWithOutput(argv, config, args, output) {
|
||||
function bundleWithOutput(argv, configPromise, args, output) {
|
||||
if (!output) {
|
||||
output = outputBundle;
|
||||
}
|
||||
return buildBundle(args, config, output);
|
||||
return buildBundle(args, configPromise, output);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user