Skip to content

Commit 44217d4

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Blacklist react-native-implementation.js from haste
Summary: We don't want people requiring from this file via haste. This file is the main for the react-native yarn workspace requireable via require('react-native'). https://pxl.cl/jnWC Reviewed By: mostafaeweda, RSNara Differential Revision: D10444200 fbshipit-source-id: 3832857e3df01def128525f32c9735e928802b59
1 parent 4d917c8 commit 44217d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.flowconfig

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.system.haste.paths.blacklist=.*/__mocks__/.*
5959
module.system.haste.paths.whitelist=<PROJECT_ROOT>/Libraries/.*
6060
module.system.haste.paths.whitelist=<PROJECT_ROOT>/RNTester/.*
6161
module.system.haste.paths.whitelist=<PROJECT_ROOT>/IntegrationTests/.*
62+
module.system.haste.paths.blacklist=<PROJECT_ROOT>/Libraries/react-native/react-native-implementation.js
6263
module.system.haste.paths.blacklist=<PROJECT_ROOT>/Libraries/Animated/src/polyfills/.*
6364

6465
munge_underscores=true

.flowconfig.android

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.system.haste.paths.blacklist=.*/__mocks__/.*
5959
module.system.haste.paths.whitelist=<PROJECT_ROOT>/Libraries/.*
6060
module.system.haste.paths.whitelist=<PROJECT_ROOT>/RNTester/.*
6161
module.system.haste.paths.whitelist=<PROJECT_ROOT>/IntegrationTests/.*
62+
module.system.haste.paths.blacklist=<PROJECT_ROOT>/Libraries/react-native/react-native-implementation.js
6263
module.system.haste.paths.blacklist=<PROJECT_ROOT>/Libraries/Animated/src/polyfills/.*
6364

6465
munge_underscores=true

0 commit comments

Comments
 (0)