Update babel-preset-es2015 to babel-preset-env

Use the common scratch browserlist configuration used for styling and babel
transforming in other scratch repositories.
This commit is contained in:
Michael "Z" Goddard 2018-05-03 18:54:54 -04:00
parent 16c6868779
commit dcb6a3ac56
No known key found for this signature in database
GPG key ID: 762CD40DD5349872
2 changed files with 2 additions and 2 deletions

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']}}]]
}
},
{