mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Expose the asyncRequireModulePath param
Reviewed By: mjesun Differential Revision: D7709569 fbshipit-source-id: 871dd9c178b1e5c81163558201ef983315561211
This commit is contained in:
1 parent
931930ae63
commit
06ec0f0fd1
2 files changed
+2
No files matched your search
@@ -78,6 +78,7 @@ async function buildBundle(
|
||||
const terminal = new Terminal(process.stdout);
|
||||
|
||||
const server = new Server({
|
||||
asyncRequireModulePath: config.getAsyncRequireModulePath(),
|
||||
assetExts: defaultAssetExts.concat(assetExts),
|
||||
assetRegistryPath: ASSET_REGISTRY_PATH,
|
||||
blacklistRE: config.getBlacklistRE(),
|
||||
|
||||
@@ -176,6 +176,7 @@ function getPackagerServer(args, config, reporter) {
|
||||
args.providesModuleNodeModules || defaultProvidesModuleNodeModules;
|
||||
|
||||
return Metro.createServer({
|
||||
asyncRequireModulePath: config.getAsyncRequireModulePath(),
|
||||
assetExts: defaultAssetExts.concat(args.assetExts),
|
||||
assetRegistryPath: ASSET_REGISTRY_PATH,
|
||||
blacklistRE: config.getBlacklistRE(),
|
||||
|
||||
Reference in new issue
Block a user