|
| 1 | +'use strict'; |
| 2 | + |
| 3 | +module.exports = { |
| 4 | + plugins: [ |
| 5 | + '@babel/plugin-syntax-jsx', |
| 6 | + '@babel/plugin-transform-react-jsx', |
| 7 | + '@babel/plugin-transform-flow-strip-types', |
| 8 | + ['@babel/plugin-proposal-class-properties', {loose: true}], |
| 9 | + 'syntax-trailing-function-commas', |
| 10 | + [ |
| 11 | + '@babel/plugin-proposal-object-rest-spread', |
| 12 | + {loose: true, useBuiltIns: true}, |
| 13 | + ], |
| 14 | + ['@babel/plugin-transform-template-literals', {loose: true}], |
| 15 | + '@babel/plugin-transform-literals', |
| 16 | + '@babel/plugin-transform-arrow-functions', |
| 17 | + '@babel/plugin-transform-block-scoped-functions', |
| 18 | + '@babel/plugin-transform-object-super', |
| 19 | + '@babel/plugin-transform-shorthand-properties', |
| 20 | + '@babel/plugin-transform-computed-properties', |
| 21 | + '@babel/plugin-transform-for-of', |
| 22 | + ['@babel/plugin-transform-spread', {loose: true, useBuiltIns: true}], |
| 23 | + '@babel/plugin-transform-parameters', |
| 24 | + ['@babel/plugin-transform-destructuring', {loose: true, useBuiltIns: true}], |
| 25 | + ['@babel/plugin-transform-block-scoping', {throwIfClosureRequired: true}], |
| 26 | + ], |
| 27 | +}; |
0 commit comments