mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
parent
effbee66f7
commit
ec9f8bf3e3
2 changed files with 2 additions and 3 deletions
3
.babelrc
3
.babelrc
|
@ -2,6 +2,5 @@
|
|||
"plugins": [
|
||||
"transform-object-rest-spread"
|
||||
],
|
||||
"presets": ["es2015"]
|
||||
"presets": [["env", {"targets": {"browsers": ["last 3 versions", "Safari >= 8", "iOS >= 8"]}}]]
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"babel-eslint": "^7.2.3",
|
||||
"babel-loader": "^7.1.2",
|
||||
"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-config-scratch": "^4.0.0",
|
||||
"eslint-plugin-import": "^2.7.0",
|
||||
|
|
Loading…
Reference in a new issue