首页
环境啊你好坑
环境啊你好坑
pubdate : 2019-05-16 11:03:31
tags: babel
regeneratorRuntime is not defined
通过这样配置。babelrc 搞定了
json
{ "presets": [ [ "@babel/preset-env", { "useBuiltIns": false, } ], ], "plugins": [ "@babel/plugin-transform-runtime" ] }