mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-07-10 13:23:55 -04:00
chore(build): replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
parent
fe93eaedae
commit
6ecbde5a2c
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
"babel-eslint": "7.1.1",
|
||||
"babel-loader": "6.2.10",
|
||||
"babel-polyfill": "6.22.0",
|
||||
"babel-preset-es2015": "6.22.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"base64-js": "1.2.1",
|
||||
"binary-loader": "0.0.1",
|
||||
"cz-conventional-changelog": "^2.0.0",
|
||||
|
|
|
@ -12,7 +12,7 @@ const base = {
|
|||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
presets: ['es2015']
|
||||
presets: [['env', {targets: {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}}]]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue