mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Remove platform blacklists
Summary: File platform identifiers (`fileName.<platform>.js`) are no longer part of the blacklist regular expression. This allows the upcoming `jest-haste-map` to include all files for all platforms, therefore enabling Packager to build bundles for different platforms using the same `HasteMap`(jest-haste-map) instance. Reviewed By: davidaurelio Differential Revision: D3907508 fbshipit-source-id: d7d7f3bd93287a634a1ef0590a736d021be2aaa5
This commit is contained in:
committed by
Facebook Github Bot 9
parent
17219720e4
commit
23d84c8df8
@@ -1,6 +1,11 @@
|
||||
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
* React Native CLI configuration file
|
||||
*/
|
||||
'use strict';
|
||||
@@ -21,8 +26,8 @@ module.exports = {
|
||||
return [];
|
||||
},
|
||||
|
||||
getBlacklistRE(platform) {
|
||||
return blacklist(platform);
|
||||
getBlacklistRE() {
|
||||
return blacklist();
|
||||
},
|
||||
|
||||
_getRoots() {
|
||||
|
||||
Reference in New Issue
Block a user