/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow
 * @format
 */
'use strict';

const getPolyfills = require('./rn-get-polyfills');

/**
 * This cli config is needed for development purposes, e.g. for running
 * integration tests during local development or on CI services.
 */
module.exports = {
  extraNodeModules: {
    'react-native': __dirname,
  },
  serializer: {
    getModulesRunBeforeMainModule: () => [
      require.resolve('./Libraries/Core/InitializeCore'),
    ],
    getPolyfills,
  },
  resolver: {
    hasteImplModulePath: require.resolve('./jest/hasteImpl'),
  },
  transformer: {
    assetRegistryPath: require.resolve('./Libraries/Image/AssetRegistry'),
  },
};

@@ -736,24 +736,165 @@
 nsformer: %7B%0A
+    getTransformOptions: () =%3E (%7B%0A      transform: %7B%0A        experimentalImportSupport: true,%0A        inlineRequires: true,%0A      %7D,%0A    %7D),%0A
     assetReg

Enable inline requires for RNTester (#23881)