fix babel rc

This commit is contained in:
casperlamboo 2017-12-19 16:00:27 +01:00
parent 5e959fa634
commit c91ee0a5e9
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@
"plugins": [
"babel-plugin-transform-object-rest-spread",
"babel-plugin-transform-class-properties",
"babel-plugin-transform-runtime"
"babel-plugin-transform-runtime",
"babel-plugin-transform-es2015-classes"
]
}

View File

@ -14,7 +14,8 @@ const babelLoader = {
plugins: [
require('babel-plugin-transform-object-rest-spread'),
require('babel-plugin-transform-class-properties'),
require('babel-plugin-transform-runtime')
require('babel-plugin-transform-runtime'),
require('babel-plugin-transform-es2015-classes')
],
babelrc: false
}