You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
688 B
19 lines
688 B
/** |
|
* Copyright (c) 2015-present, Facebook, Inc. |
|
* |
|
* This source code is licensed under the MIT license found in the |
|
* LICENSE file in the root directory of this source tree. |
|
*/ |
|
'use strict'; |
|
|
|
const create = require('./create'); |
|
|
|
// This is similar to how `env` works in Babel: |
|
// https://babeljs.io/docs/usage/babelrc/#env-option |
|
// We are not using `env` because it’s ignored in versions > babel-core@6.10.4: |
|
// https://github.com/babel/babel/issues/4539 |
|
// https://github.com/facebookincubator/create-react-app/issues/720 |
|
// It’s also nice that we can enforce `NODE_ENV` being specified. |
|
var env = process.env.BABEL_ENV || process.env.NODE_ENV; |
|
|
|
module.exports = create(env);
|
|
|