mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-15 17:47:41 +08:00
* Refactor start script into modules * Move dev server config into config file * Replace eject file whitelist with a "remove-file-on-eject" flag * Move utils into scripts folder (for inclusion in ejection) * Add missed changes * Pass showInstructions as an argument * Fix eject bug * Don't eject babelTransform
16 lines
498 B
JavaScript
16 lines
498 B
JavaScript
// @remove-file-on-eject
|
|
/**
|
|
* Copyright (c) 2014-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.
|
|
*/
|
|
|
|
const babelJest = require('babel-jest');
|
|
|
|
module.exports = babelJest.createTransformer({
|
|
presets: [require.resolve('babel-preset-react-app')],
|
|
babelrc: false
|
|
});
|