mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 09:23:16 +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
@@ -49,7 +49,7 @@ function buildBundle(args, config, output = outputBundle, packagerInstance) {
|
||||
projectRoots: config.getProjectRoots(),
|
||||
assetExts: defaultAssetExts.concat(assetExts),
|
||||
assetRoots: config.getAssetRoots(),
|
||||
blacklistRE: config.getBlacklistRE(args.platform),
|
||||
blacklistRE: config.getBlacklistRE(),
|
||||
getTransformOptionsModulePath: config.getTransformOptionsModulePath,
|
||||
transformModulePath: transformModulePath,
|
||||
extraNodeModules: config.extraNodeModules,
|
||||
|
||||
Reference in New Issue
Block a user