Repository navigation
Update React Native to use latest CLI #23940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
13cf6e2
c946536
0114029
f102ec5
0bdfb18
7b5bd39
962a982
7e102d0
02ab20d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,22 +19,5 @@ module.exports = { | |
| extraNodeModules: { | ||
| 'react-native': __dirname, | ||
| }, | ||
| serializer: { | ||
| getModulesRunBeforeMainModule: () => [ | ||
| require.resolve('./Libraries/Core/InitializeCore'), | ||
| ], | ||
| getPolyfills, | ||
| }, | ||
| resolver: { | ||
| hasteImplModulePath: require.resolve('./jest/hasteImpl'), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how does this affect out-of-tree platforms? cc @empyrical @rozele
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it shouldn't. This was added 2 weeks ago for me "as a workaround" and I reverted the format of config to what it's there already.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, it looks fine for me in that regard. I can try and test it out later and see if everything still works just to double check |
||
| }, | ||
| transformer: { | ||
| getTransformOptions: () => ({ | ||
| transform: { | ||
| experimentalImportSupport: true, | ||
| inlineRequires: true, | ||
| }, | ||
| }), | ||
| assetRegistryPath: require.resolve('./Libraries/Image/AssetRegistry'), | ||
| }, | ||
| getPolyfills, | ||
| }; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we update template too ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, this only affects projects that run React Native from source. RNTester uses
react-nativefrom source (../folder). All other apps getreact-nativefromnode_modules/react-native