From dee96fbedcd600e8819019005ae75ffbee2246f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Bigio?= Date: Thu, 22 Oct 2015 14:18:41 -0700 Subject: [PATCH] Update blacklist.js Summary: Since we rely on a non npm version of `react-tools` which includes docs and other unnecessary files we need to make sure we blacklist some of them as otherwise the packager fails Closes https://github.com/facebook/react-native/pull/3616 Reviewed By: svcscm Differential Revision: D2572024 Pulled By: mkonicek fb-gh-sync-id: 2082cd69e2ccddb275dfdc7db107d4ed6b826bbb --- packager/blacklist.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packager/blacklist.js b/packager/blacklist.js index dbe9fdfee..cefb0d1eb 100644 --- a/packager/blacklist.js +++ b/packager/blacklist.js @@ -17,6 +17,8 @@ var sharedBlacklist = [ 'node_modules/react-tools/src/renderers/shared/event/EventPropagators.js', 'node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js', 'node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js', + 'node_modules/react-tools/docs/js/react.js', + 'node_modules/react-tools/src/package.json', // Those conflicts with the ones in react-tools/. We need to blacklist the // internal version otherwise they won't work in open source.