From 50b722ed839ca10bcb484ba3af71df42793845ee Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Sat, 18 Mar 2017 18:26:03 +0100 Subject: [PATCH] Use babel-preset-env instead of babel-preset-es2015 (#284) --- packages/regenerator-transform/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/regenerator-transform/package.json b/packages/regenerator-transform/package.json index 3ba5e7b06..269cdbe2e 100644 --- a/packages/regenerator-transform/package.json +++ b/packages/regenerator-transform/package.json @@ -20,7 +20,7 @@ }, "babel": { "presets": [ - ["es2015", { "loose": true }] + ["env", { "loose": true }] ], "plugins": [ "transform-runtime" @@ -34,6 +34,6 @@ "devDependencies": { "babel-cli": "^6.9.0", "babel-plugin-transform-runtime": "^6.9.0", - "babel-preset-es2015": "^6.18.0" + "babel-preset-env": "^1.2.2" } }