Add async/await in core

This commit is contained in:
Sébastien Chopin 2016-12-27 16:31:07 +01:00
parent eb21c4d67f
commit 8adb69468b

View File

@ -64,6 +64,10 @@ module.exports = function () {
loader: 'babel-loader',
exclude: /node_modules/,
query: defaults(this.options.build.babel, {
plugins: [
'transform-async-to-generator',
'transform-runtime'
],
presets: [
['es2015', { modules: false }],
'stage-2'