regeneratorRuntime未定义

babel-preset-stage-2

 

 

{
"presets": ["es2015", "stage-2"],
"plugins": [
"transform-runtime",
"transform-strict-mode",
"transform-es2015-modules-commonjs",
"transform-es2015-spread",
"transform-es2015-destructuring",
"transform-es2015-parameters",
"syntax-async-functions",
"transform-async-to-generator",
"syntax-export-extensions",
"transform-es2015-spread"
]
}

posted @ 2016-08-28 20:28  深海懒猫  阅读(1507)  评论(0编辑  收藏  举报