Skip to content

Commit 06ec0f0

Browse files
rafecafacebook-github-bot
authored andcommitted
Expose the asyncRequireModulePath param
Reviewed By: mjesun Differential Revision: D7709569 fbshipit-source-id: 871dd9c178b1e5c81163558201ef983315561211
1 parent 931930a commit 06ec0f0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

local-cli/bundle/buildBundle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ async function buildBundle(
7878
const terminal = new Terminal(process.stdout);
7979

8080
const server = new Server({
81+
asyncRequireModulePath: config.getAsyncRequireModulePath(),
8182
assetExts: defaultAssetExts.concat(assetExts),
8283
assetRegistryPath: ASSET_REGISTRY_PATH,
8384
blacklistRE: config.getBlacklistRE(),

local-cli/server/runServer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ function getPackagerServer(args, config, reporter) {
176176
args.providesModuleNodeModules || defaultProvidesModuleNodeModules;
177177

178178
return Metro.createServer({
179+
asyncRequireModulePath: config.getAsyncRequireModulePath(),
179180
assetExts: defaultAssetExts.concat(args.assetExts),
180181
assetRegistryPath: ASSET_REGISTRY_PATH,
181182
blacklistRE: config.getBlacklistRE(),

0 commit comments

Comments
 (0)