Skip to content

Commit 73f62e5

Browse files
davidaurelioFacebook Github Bot 2
authored andcommitted
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 bd60d82, 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 facebook#8576 Differential Revision: D3516652 Pulled By: bestander fbshipit-source-id: 09bb488517a0ee2b5b6219dfda559aef568bbbc2
1 parent ac18025 commit 73f62e5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

rn-cli.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
'use strict';
10+
11+
/**
12+
* This cli config is needed for development purposes, e.g. for running
13+
* integration tests during local development or on CI services.
14+
*/
15+
module.exports = {
16+
extraNodeModules: {
17+
'react-native': __dirname,
18+
},
19+
};

0 commit comments

Comments
 (0)