Skip to content

Commit

Permalink
Enable inline requires for RNTester (#23881)
Browse files Browse the repository at this point in the history
Summary:
Turns on inline requires feature for RNTester! 馃弾

[General] [Added] - Inline requires for RNTester
Pull Request resolved: #23881

Differential Revision: D14435862

Pulled By: cpojer

fbshipit-source-id: b75541d359937326178129371b6db0305731fceb
  • Loading branch information
ericlewis authored and facebook-github-bot committed Mar 13, 2019
1 parent b8f9932 commit 48ccafc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rn-cli.config.js
Expand Up @@ -29,6 +29,12 @@ module.exports = {
hasteImplModulePath: require.resolve('./jest/hasteImpl'),
},
transformer: {
getTransformOptions: () => ({
transform: {
experimentalImportSupport: true,
inlineRequires: true,
},
}),
assetRegistryPath: require.resolve('./Libraries/Image/AssetRegistry'),
},
};

0 comments on commit 48ccafc

Please sign in to comment.