react-native/babel-preset/plugins.js

38 lines
2.4 KiB
JavaScript
Raw Normal View History

/**
* 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.
*
* @flow
* @format
*/
'use strict';
module.exports = {
'@babel/plugin-proposal-class-properties': require('@babel/plugin-proposal-class-properties'),
'@babel/plugin-proposal-object-rest-spread': require('@babel/plugin-proposal-object-rest-spread'),
'@babel/plugin-transform-arrow-functions': require('@babel/plugin-transform-arrow-functions'),
'@babel/plugin-transform-block-scoping': require('@babel/plugin-transform-block-scoping'),
'@babel/plugin-transform-classes': require('@babel/plugin-transform-classes'),
'@babel/plugin-transform-computed-properties': require('@babel/plugin-transform-computed-properties'),
'@babel/plugin-transform-destructuring': require('@babel/plugin-transform-destructuring'),
'@babel/plugin-transform-exponentiation-operator': require('@babel/plugin-transform-exponentiation-operator'),
'@babel/plugin-transform-flow-strip-types': require('@babel/plugin-transform-flow-strip-types'),
'@babel/plugin-transform-for-of': require('@babel/plugin-transform-for-of'),
'@babel/plugin-transform-function-name': require('@babel/plugin-transform-function-name'),
'@babel/plugin-transform-literals': require('@babel/plugin-transform-literals'),
'@babel/plugin-transform-modules-commonjs': require('@babel/plugin-transform-modules-commonjs'),
'@babel/plugin-transform-object-assign': require('@babel/plugin-transform-object-assign'),
'@babel/plugin-transform-parameters': require('@babel/plugin-transform-parameters'),
'@babel/plugin-transform-shorthand-properties': require('@babel/plugin-transform-shorthand-properties'),
'@babel/plugin-transform-react-display-name': require('@babel/plugin-transform-react-display-name'),
'@babel/plugin-transform-react-jsx': require('@babel/plugin-transform-react-jsx'),
'@babel/plugin-transform-react-jsx-source': require('@babel/plugin-transform-react-jsx-source'),
'@babel/plugin-transform-regenerator': require('@babel/plugin-transform-regenerator'),
'@babel/plugin-transform-spread': require('@babel/plugin-transform-spread'),
'@babel/plugin-transform-sticky-regex': require('@babel/plugin-transform-sticky-regex'),
'@babel/plugin-transform-unicode-regex': require('@babel/plugin-transform-unicode-regex'),
'@babel/plugin-transform-template-literals': require('@babel/plugin-transform-template-literals'),
};