mirror of https://github.com/status-im/metro.git
Remove all the duplicate module warnings
Summary: @public @amasad added a warning when there are two @providesModule with the same name. This removes all those warnings by blacklisting the internal version of those files. Once we get of the big react-tools/ hack, we'll be able to remove all those :) Reviewed By: @amasad Differential Revision: D2482521
This commit is contained in:
parent
d071cfa7d1
commit
179b9c07a9
19
blacklist.js
19
blacklist.js
|
@ -17,6 +17,25 @@ 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',
|
||||
|
||||
// Those conflicts with the ones in react-tools/. We need to blacklist the
|
||||
// internal version otherwise they won't work in open source.
|
||||
'downstream/core/invariant.js',
|
||||
'downstream/key-mirror/keyMirror.js',
|
||||
'downstream/core/emptyFunction.js',
|
||||
'downstream/core/emptyObject.js',
|
||||
'downstream/key-mirror/keyOf.js',
|
||||
'downstream/core/dom/isNode.js',
|
||||
'downstream/core/TouchEventUtils.js',
|
||||
'downstream/core/nativeRequestAnimationFrame.js',
|
||||
'downstream/core/dom/containsNode.js',
|
||||
'downstream/core/dom/isTextNode.js',
|
||||
'downstream/functional/mapObject.js',
|
||||
'downstream/core/camelize.js',
|
||||
'downstream/core/hyphenate.js',
|
||||
'downstream/core/createArrayFromMixed.js',
|
||||
'downstream/core/toArray.js',
|
||||
'downstream/core/dom/getActiveElement.js',
|
||||
];
|
||||
|
||||
// Raw unescaped patterns in case you need to use wildcards
|
||||
|
|
Loading…
Reference in New Issue