Make the runBeforeMainModule config param to RN repo and make it absolute

Reviewed By: davidaurelio

Differential Revision: D5880700

fbshipit-source-id: 5df6781026030395900388c561283abadefa6511
This commit is contained in:
Rafael Oleza
2017-09-26 12:54:44 -07:00
committed by Facebook Github Bot
parent 292b19d339
commit 34487c0591
4 changed files with 16 additions and 9 deletions

View File

@@ -125,6 +125,7 @@ function buildBundle(
providesModuleNodeModules: providesModuleNodeModules,
resetCache: args.resetCache,
reporter: new TerminalReporter(terminal),
runBeforeMainModule: config.runBeforeMainModule,
sourceExts: defaultSourceExts.concat(sourceExts),
transformCache: TransformCaching.useTempDir(),
transformModulePath: transformModulePath,