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

Update babel-preset-es2015 to babel-preset-env
This commit is contained in:
Ray Schamp 2018-05-07 10:34:34 -04:00 committed by GitHub
commit 9f33b593b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@
"babel-core": "^6.24.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-env": "^1.6.1",
"canvas-toBlob": "1.0.0",
"copy-webpack-plugin": "4.2.1",
"decode-html": "2.0.0",

View file

@ -20,7 +20,7 @@ const base = {
loader: 'babel-loader',
include: path.resolve(__dirname, 'src'),
query: {
presets: ['es2015']
presets: [['env', {targets: {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}}]]
}
},
{