mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 14:48:25 +00:00
Add a local packager config, so that react can find react-native when…
Summary: The **motivation** for this PR is my sad colleague bestander: I managed to break travis with bd60d828c5fc9cb066e5f647c87ecd6f70cb63a5, without considering the consequences. This PR solves this failure, and will fix it for good. **Test plan (required)** Travis will demonstrate that the code is solid. Let’s make sure tests pass on both Travis and Circle CI. Closes https://github.com/facebook/react-native/pull/8576 Differential Revision: D3516652 Pulled By: bestander fbshipit-source-id: 09bb488517a0ee2b5b6219dfda559aef568bbbc2
This commit is contained in:
parent
ac18025d7c
commit
73f62e588e
19
rn-cli.config.js
Normal file
19
rn-cli.config.js
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* This cli config is needed for development purposes, e.g. for running
|
||||
* integration tests during local development or on CI services.
|
||||
*/
|
||||
module.exports = {
|
||||
extraNodeModules: {
|
||||
'react-native': __dirname,
|
||||
},
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user