Expose the asyncRequireModulePath param

Reviewed By: mjesun

Differential Revision: D7709569

fbshipit-source-id: 871dd9c178b1e5c81163558201ef983315561211
This commit is contained in:
Rafael Oleza authored and Facebook Github Bot committed 2018-04-20 14:23:23 -07:00
1 parent 931930ae63
commit 06ec0f0fd1
2 files changed
+2

No files matched your search

+1
View File
@@ -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(),
+1
View File
@@ -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(),