text: module.exports = {
    presets: [
      '@babel/preset-react',
      [
        '@babel/preset-env',
        {
          targets: {
            node: 'current',
          },
        },
      ],
    ],
    plugins: ['@babel/plugin-proposal-class-properties', '@loadable/babel-plugin'],
    env: {
      test: {
        plugins: ['dynamic-import-node-babel-7'],
      },
    },
  };
  