首页

环境啊你好坑


regeneratorRuntime is not defined

通过这样配置.babelrc搞定了

{
    "presets": [
        [
            "@babel/preset-env",
            {
                "useBuiltIns": false,
            }
        ],
    ],
    "plugins": [
        "@babel/plugin-transform-runtime"
    ]
}