Use async/await in vue files

This commit is contained in:
Sébastien Chopin 2016-12-27 16:58:07 +01:00
parent 05a66e0cba
commit 0a3577b4c0

View File

@ -4,6 +4,10 @@ const { defaults } = require('lodash')
module.exports = function () {
let babelOptions = JSON.stringify(defaults(this.options.build.babel, {
plugins: [
'transform-async-to-generator',
'transform-runtime'
],
presets: [
['es2015', { modules: false }],
'stage-2'