diff --git a/.babelrc b/.babelrc index 7f28ca6a..29a41a81 100644 --- a/.babelrc +++ b/.babelrc @@ -3,36 +3,10 @@ [ "@babel/preset-env", { - "modules": false, - "useBuiltIns": "usage", - "corejs": 3 + "targets": { + "node": true + } } - ], - ], - "plugins": [ - "@babel/plugin-proposal-optional-chaining" - ], - "env": { - "cjs": { - "presets": [ - [ - "@babel/preset-env", - { - "targets": { - "node": 10, - "browsers": [ - ">0.23%", - "iOS >= 9", - "Chrome >= 63", - "safari >= 9", - "IE >= 11" - ] - }, - "useBuiltIns": "usage", - "corejs": 3 - } - ] - ] - } - } + ] + ] }