mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Expose the asyncRequireModulePath param
Reviewed By: mjesun Differential Revision: D7709569 fbshipit-source-id: 871dd9c178b1e5c81163558201ef983315561211
This commit is contained in:
parent
931930ae63
commit
06ec0f0fd1
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user