Merge pull request #17 from mzgoddard/babel-preset-env

Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
Ray Schamp 2018-05-11 11:09:50 -04:00 committed by GitHub
commit 1e976a53fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -2,6 +2,5 @@
"plugins": [ "plugins": [
"transform-object-rest-spread" "transform-object-rest-spread"
], ],
"presets": ["es2015"] "presets": [["env", {"targets": {"browsers": ["last 3 versions", "Safari >= 8", "iOS >= 8"]}}]]
} }

View file

@ -35,7 +35,7 @@
"babel-eslint": "^7.2.3", "babel-eslint": "^7.2.3",
"babel-loader": "^7.1.4", "babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.1", "babel-preset-env": "^1.6.1",
"eslint": "^4.6.1", "eslint": "^4.6.1",
"eslint-config-scratch": "^4.0.0", "eslint-config-scratch": "^4.0.0",
"eslint-plugin-import": "^2.7.0", "eslint-plugin-import": "^2.7.0",