mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
redo of #34458 but fixing up prettier Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
15 lines
434 B
JavaScript
15 lines
434 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
module.exports = {
|
|
presets: ['@babel/preset-env', '@babel/preset-typescript'],
|
|
plugins: [
|
|
['@babel/plugin-transform-private-property-in-object', {loose: true}],
|
|
['@babel/plugin-transform-class-properties', {loose: true}],
|
|
],
|
|
};
|