| 1 | /** |
| 2 | * This file is purely being used for local jest runs, and doesn't participate in the build process. |
| 3 | */ |
| 4 | 'use strict'; |
| 5 | |
| 6 | module.exports = { |
| 7 | plugins: [ |
| 8 | '@babel/plugin-syntax-jsx', |
| 9 | '@babel/plugin-transform-flow-strip-types', |
| 10 | ['@babel/plugin-transform-class-properties', {loose: true}], |
| 11 | ['@babel/plugin-transform-private-methods', {loose: true}], |
| 12 | '@babel/plugin-transform-classes', |
| 13 | ], |
| 14 | presets: [ |
| 15 | ['@babel/preset-env', {targets: {node: 'current'}}], |
| 16 | '@babel/preset-typescript', |
| 17 | ], |
| 18 | }; |