mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
bc84ec42ee
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34452 This will unblock the RN `test_android` CI Job as currently two versions of `hermes-parser` are picked up during package resolution. Changelog: [Internal] [Fixed] - Blacklist sdks/hermes from Metro resolution Reviewed By: cipolleschi Differential Revision: D38856931 fbshipit-source-id: 49d941f762ba0ef953c5c42b0ca13ac1c74b5ba5
31 lines
692 B
JavaScript
31 lines
692 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
* @format
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const getPolyfills = require('./rn-get-polyfills');
|
|
|
|
/**
|
|
* This cli config is needed for development purposes, e.g. for running
|
|
* integration tests during local development or on CI services.
|
|
*/
|
|
module.exports = {
|
|
resolver: {
|
|
// $FlowFixMe[signature-verification-failure] Can't infer RegExp type.
|
|
blockList: [/buck-out/, /sdks\/hermes/],
|
|
extraNodeModules: {
|
|
'react-native': __dirname,
|
|
},
|
|
},
|
|
serializer: {
|
|
getPolyfills,
|
|
},
|
|
};
|