when using regenerator in the es2015 preset, don't transform async and asyncGenerators
This commit is contained in:
parent
f72802bec9
commit
d3268a5cda
@ -19,6 +19,6 @@ module.exports = {
|
||||
require("babel-plugin-transform-es2015-block-scoping"),
|
||||
require("babel-plugin-transform-es2015-typeof-symbol"),
|
||||
require("babel-plugin-transform-es2015-modules-commonjs"),
|
||||
require("babel-plugin-transform-regenerator"),
|
||||
[require("babel-plugin-transform-regenerator"), { async: false, asyncGenerators: false }],
|
||||
]
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user