Fix for test
This commit is contained in:
parent
35488ecca1
commit
9b11f2cf9b
1
.babelrc
1
.babelrc
|
|
@ -8,7 +8,6 @@
|
|||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-transform-async-to-generator",
|
||||
["@babel/plugin-transform-runtime", {
|
||||
"helpers": true,
|
||||
"regenerator": true
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user