diff --git a/client-v2/.babelrc b/client-v2/.babelrc deleted file mode 100644 index ab803d6118e..00000000000 --- a/client-v2/.babelrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "presets": [ - [ - "@babel/env", - { - "useBuiltIns": "usage", - "targets": { - "browsers": ["chrome >= 49", "firefox >= 48", "safari >= 10", "> 1%"] - } - } - ], - "@babel/react", - "@babel/flow" - ], - "plugins": [ - "@babel/plugin-proposal-object-rest-spread", - "transform-class-properties" - ] -} diff --git a/client-v2/babel.config.js b/client-v2/babel.config.js new file mode 100644 index 00000000000..a3c9d6788a3 --- /dev/null +++ b/client-v2/babel.config.js @@ -0,0 +1,19 @@ +module.exports = { + presets: [ + [ + '@babel/env', + { + useBuiltIns: 'usage', + targets: { + browsers: ['chrome >= 49', 'firefox >= 48', 'safari >= 10', '> 1%'] + } + } + ], + '@babel/react', + '@babel/flow' + ], + plugins: [ + '@babel/plugin-proposal-object-rest-spread', + 'transform-class-properties' + ] +};