2018-10-25 20:03:19 -04:00
|
|
|
/**
|
2020-02-25 10:12:28 -05:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-10-25 20:03:19 -04:00
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-10-08 02:42:31 -04:00
|
|
|
module.exports = {
|
2019-05-08 12:03:52 -04:00
|
|
|
presets: [
|
|
|
|
|
[
|
|
|
|
|
'@babel/env',
|
|
|
|
|
{
|
|
|
|
|
targets: {
|
|
|
|
|
node: 'current',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
'@babel/react',
|
2019-05-18 14:37:35 -04:00
|
|
|
'@babel/preset-typescript',
|
2019-05-08 12:03:52 -04:00
|
|
|
],
|
2019-03-23 03:21:36 -04:00
|
|
|
plugins: [
|
|
|
|
|
'@babel/plugin-proposal-class-properties',
|
|
|
|
|
'@babel/plugin-proposal-object-rest-spread',
|
2019-11-11 05:44:26 -05:00
|
|
|
'@babel/plugin-proposal-nullish-coalescing-operator',
|
|
|
|
|
'@babel/plugin-proposal-optional-chaining',
|
2019-03-23 03:21:36 -04:00
|
|
|
],
|
2018-10-08 02:42:31 -04:00
|
|
|
};
|