mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-07-09 05:04:43 -04:00
Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
parent
4a4173046a
commit
6b393ecc39
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
"babel-eslint": "^8.2.1",
|
||||
"babel-loader": "^7.1.4",
|
||||
"babel-polyfill": "^6.22.0",
|
||||
"babel-preset-es2015": "^6.22.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"chromeless": "^1.5.1",
|
||||
"copy-webpack-plugin": "^4.5.1",
|
||||
"docdash": "^0.4.0",
|
||||
|
|
|
@ -19,7 +19,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