Revert to basic presets for build

This commit is contained in:
Sébastien Chopin 2017-02-17 17:31:09 +01:00
parent 2bb8f1fd58
commit 00c9abb806
2 changed files with 14 additions and 1 deletions

View File

@ -86,6 +86,11 @@
"devDependencies": {
"ava": "^0.18.1",
"babel-eslint": "^7.1.1",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-transform-async-to-generator": "^6.22.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-2": "^6.22.0",
"codecov": "^1.0.1",
"copy-webpack-plugin": "^4.0.1",
"eslint": "^3.15.0",

View File

@ -31,7 +31,15 @@ module.exports = {
loader: 'babel-loader',
exclude: /node_modules/,
query: {
presets: ['vue-app'],
plugins: [
'transform-async-to-generator',
'array-includes',
'transform-runtime'
],
presets: [
['es2015', { modules: false }],
'stage-2'
],
cacheDirectory: true
}
}