diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 8aa95a98..00000000 --- a/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@babel/env", - { - "targets": { - "node": "6.7.0" - } - } - ] - ] -} diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 00000000..64f7c0d4 --- /dev/null +++ b/babel.config.js @@ -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 + } +}