From 44217d48ff6587c074e89436f556a49fcc3e4532 Mon Sep 17 00:00:00 2001 From: Eli White Date: Thu, 18 Oct 2018 15:18:11 -0700 Subject: [PATCH] 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 --- .flowconfig | 1 + .flowconfig.android | 1 + 2 files changed, 2 insertions(+) diff --git a/.flowconfig b/.flowconfig index 0d79af75b6c..1915005d9c2 100644 --- a/.flowconfig +++ b/.flowconfig @@ -59,6 +59,7 @@ module.system.haste.paths.blacklist=.*/__mocks__/.* module.system.haste.paths.whitelist=/Libraries/.* module.system.haste.paths.whitelist=/RNTester/.* module.system.haste.paths.whitelist=/IntegrationTests/.* +module.system.haste.paths.blacklist=/Libraries/react-native/react-native-implementation.js module.system.haste.paths.blacklist=/Libraries/Animated/src/polyfills/.* munge_underscores=true diff --git a/.flowconfig.android b/.flowconfig.android index 79ffdcae824..2a37cfe29f5 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -59,6 +59,7 @@ module.system.haste.paths.blacklist=.*/__mocks__/.* module.system.haste.paths.whitelist=/Libraries/.* module.system.haste.paths.whitelist=/RNTester/.* module.system.haste.paths.whitelist=/IntegrationTests/.* +module.system.haste.paths.blacklist=/Libraries/react-native/react-native-implementation.js module.system.haste.paths.blacklist=/Libraries/Animated/src/polyfills/.* munge_underscores=true