switch to babel.config.js

This commit is contained in:
Jiiks 2019-03-04 10:12:42 +02:00
parent 92845728cc
commit 3661207602
2 changed files with 17 additions and 12 deletions

View File

@ -1,12 +0,0 @@
{
"presets": [
[
"@babel/env",
{
"targets": {
"node": "6.7.0"
}
}
]
]
}

17
babel.config.js Normal file
View File

@ -0,0 +1,17 @@
module.exports = function(api) {
api.cache(true);
const presets = [['@babel/env', {
targets: {
'node': '8.6.0'
}
}]];
const plugins = [];
return {
presets,
plugins
}
}