Skip to content

Commit 9d4f6cd

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Fix path to react-native for Metro (#52877)
Summary: Pull Request resolved: #52877 We moved the HelloWorld package from `packages`to `private` but we didn't update the path to React Native that is consumed by metro. This change fixes this. ## Changelog: [Internal] - Reviewed By: huntie Differential Revision: D78493478 fbshipit-source-id: 8795c2963dec036693a73a16c18be381f19e11c4
1 parent d2fa1cd commit 9d4f6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/helloworld/scripts/metro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ program
2323
android: {},
2424
},
2525
root: path.join(__dirname, '../'),
26-
reactNativePath: path.join(__dirname, '../../react-native'),
26+
reactNativePath: path.join(__dirname, '../../../packages/react-native'),
2727
},
2828
{
2929
experimentalDebugger: false,

0 commit comments

Comments
 (0)