Files
create-react-app/packages/babel-preset-react-app/loader.js
Joe Haddad 11737bc786 Prevent the cache of files using Babel Macros (#5078)
* Add new overrides option

* Add file to package.json

* Create our own loader

* Remove overrides

* We have to use a real babel option

* Add comments
2018-09-24 20:10:11 -04:00

13 lines
330 B
JavaScript

/**
* 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 loader = require('babel-loader');
const overrides = require('./overrides');
module.exports = loader.custom(() => overrides);