Fix for test

This commit is contained in:
Pig Fang 2018-09-05 23:48:30 +08:00
parent 35488ecca1
commit 9b11f2cf9b
2 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,6 @@
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-async-to-generator",
["@babel/plugin-transform-runtime", {
"helpers": true,
"regenerator": true

View File

@ -42,7 +42,14 @@ const config = {
exclude: /node_modules/,
use: [
'cache-loader',
'babel-loader'
{
loader: 'babel-loader',
options: {
plugins: [
'@babel/plugin-transform-async-to-generator'
]
}
}
]
},
{