mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
0f3f6c0938
Summary: fix https://github.com/facebook/react-native/issues/27620 ## Changelog [Internal] [Fixed] - Fix warning of packager Pull Request resolved: https://github.com/facebook/react-native/pull/27883 Test Plan: - run `./scripts/packager.sh` and no warning displayed Differential Revision: D19619571 Pulled By: cpojer fbshipit-source-id: 3cd6383d9b0f7e133a9253b19ad626fcc93d5bed
29 lines
570 B
JavaScript
29 lines
570 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its 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: {
|
|
extraNodeModules: {
|
|
'react-native': __dirname,
|
|
},
|
|
},
|
|
serializer: {
|
|
getPolyfills,
|
|
},
|
|
};
|