text: module.exports = {
    presets: ['@babel/preset-env'],
    plugins: [
      // ['@babel/plugin-transform-classes', { loose: true }],
      // ['@babel/plugin-transform-destructuring', { loose: true }],
      ['@babel/plugin-transform-spread', { loose: true }],
    ],
    env: {
      cjs: {
        presets: [
          ['@babel/preset-env', { modules: 'commonjs' }],
        ],
      },
      mjs: {
        presets: [
          ['@babel/preset-env', { modules: false }],
        ],
      },
    },
  };
  