module.exports = {
  compact: false,
  // 插件
  plugins: [
    [
      "@babel/plugin-proposal-decorators",
      {
        legacy: true,
      },
    ],
  ],
  // 预设
  presets: [
    ["@babel/preset-env", {
      targets: {
        browsers: ["ie >= 10"],
      },
    }],
    ["@babel/preset-react", {
      runtime: "automatic",
    }],
  ],
};
