From 5bae5319fde27125277eda47fc8b6835f56c3748 Mon Sep 17 00:00:00 2001 From: Caleb Date: Wed, 21 Feb 2018 16:04:35 -0700 Subject: [PATCH] Revert "Fix `babel-preset-env` implementation (#765)" This reverts commit ddbfae6b3940a161886f590295d5cfa6bf58b2e0. --- .babelrc | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/.babelrc b/.babelrc index 8b37840c..62862b79 100644 --- a/.babelrc +++ b/.babelrc @@ -1,18 +1,7 @@ { "presets": [ ["env", { - "modules": false, - "targets": { - "browsers": [ - "last 2 Chrome versions", - "last 2 Opera versions", - "last 2 Firefox versions", - "last 2 Edge versions", - "last 2 Safari versions", - "last 2 iOS versions", - "last 2 ChromeAndroid versions" - ] - } + "modules": false }], "react" ], @@ -57,13 +46,7 @@ ], "env": { "test": { - "presets": [ - ["env", { - "targets": { - "node": "6" - } - }] - ] + "plugins": ["transform-es2015-modules-commonjs"] } } }