{ presets: [ ['@babel/preset-env', { targets: 'defaults', 'useBuiltIns': 'usage', 'corejs': 3, }], ], plugins: [ "@babel/plugin-transform-class-properties", '@babel/plugin-transform-modules-commonjs', ], }