Christoph Nakazawa 9d3f598c2c Remove references to local-cli
Summary: This cleans up various configurations after the removal of this folder.

Reviewed By: hramos

Differential Revision: D13338515

fbshipit-source-id: 9d6877921e15a183e46861626af831231333f42a
2018-12-07 07:49:18 -08:00

25 lines
601 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.
*
* @format
*/
'use strict';
require('babel-register')({
babelrc: false,
presets: [
require('babel-preset-es2015-node'),
require('babel-preset-stage-3'),
],
// Enable transpiling for react-native-git-upgrade AND the generator, just like the upgrade CLI command does
only: /(react-native-git-upgrade\/(?!(node_modules)))/,
});
var cliEntry = require('./cliEntry');
module.exports = cliEntry;