mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Add getRunModuleStatement config param to configure the require() statements
Reviewed By: cpojer Differential Revision: D7334078 fbshipit-source-id: c19340567c634e3173ee707e92389eaaa4e724e9
This commit is contained in:
parent
6f339b6fcb
commit
15f0a7b76c
@ -89,6 +89,7 @@ async function buildBundle(
|
||||
extraNodeModules: config.extraNodeModules,
|
||||
getModulesRunBeforeMainModule: config.getModulesRunBeforeMainModule,
|
||||
getPolyfills: config.getPolyfills,
|
||||
getRunModuleStatement: config.getRunModuleStatement,
|
||||
getTransformOptions: config.getTransformOptions,
|
||||
globalTransformCache: null,
|
||||
hasteImplModulePath: config.hasteImplModulePath,
|
||||
|
@ -190,6 +190,7 @@ function getPackagerServer(args, config, reporter) {
|
||||
dynamicDepsInPackages: config.dynamicDepsInPackages,
|
||||
getModulesRunBeforeMainModule: config.getModulesRunBeforeMainModule,
|
||||
getPolyfills: config.getPolyfills,
|
||||
getRunModuleStatement: config.getRunModuleStatement,
|
||||
getTransformOptions: config.getTransformOptions,
|
||||
globalTransformCache: null,
|
||||
hasteImplModulePath: config.hasteImplModulePath,
|
||||
|
Loading…
x
Reference in New Issue
Block a user