diff --git a/.babelrc b/.babelrc index c13c5f6..002b4aa 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,3 @@ { - "presets": ["es2015"] + "presets": ["env"] } diff --git a/package.json b/package.json index fa52a82..7c751fc 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "devDependencies": { "babel-core": "^6.26.0", "babel-eslint": "^8.0.0", - "babel-preset-es2015": "^6.24.1", + "babel-preset-env": "^1.6.0", "browser-sync": ">=2.10.0", "concurrent-transform": "^1.0.0", "critical": "^0.9.1",