Skip to content

Commit

Permalink
Add a local packager config, so that react can find react-native when…
Browse files Browse the repository at this point in the history
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
  • Loading branch information
davidaurelio authored and Facebook Github Bot 2 committed Jul 5, 2016
1 parent ac18025 commit 73f62e5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions rn-cli.config.js
Original file line number Diff line number Diff line change
@@ -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,
},
};

0 comments on commit 73f62e5

Please sign in to comment.