// {
//   "presets": ["@babel/preset-env", "@babel/react"],
//   "plugins": [
//     // [
//     //   "@babel/plugin-transform-runtime"
//     // ],
//     ["@babel/plugin-proposal-decorators", { "legacy": true }],
//     ["syntax-dynamic-import"],
//     ["@babel/plugin-transform-async-to-generator"]
//   ]
// }
{
  "plugins": [
    [
      "@babel/plugin-transform-runtime",
      {
        "absoluteRuntime": false,
        "corejs": 2, //默认false  
        "helpers": true,
        "regenerator": true,
        "useESModules": false
      }
    ],
    ["@babel/plugin-proposal-decorators", { "legacy": true }]
  ]
}