diff --git a/rn-cli.config.js b/rn-cli.config.js index 2733bb8ec..275e1283f 100644 --- a/rn-cli.config.js +++ b/rn-cli.config.js @@ -29,6 +29,12 @@ module.exports = { hasteImplModulePath: require.resolve('./jest/hasteImpl'), }, transformer: { + getTransformOptions: () => ({ + transform: { + experimentalImportSupport: true, + inlineRequires: true, + }, + }), assetRegistryPath: require.resolve('./Libraries/Image/AssetRegistry'), }, };