mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
Merge pull request #17 from mzgoddard/babel-preset-env
Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
commit
1e976a53fd
2 changed files with 2 additions and 3 deletions
3
.babelrc
3
.babelrc
|
@ -2,6 +2,5 @@
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"transform-object-rest-spread"
|
"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-eslint": "^7.2.3",
|
||||||
"babel-loader": "^7.1.4",
|
"babel-loader": "^7.1.4",
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
"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": "^4.6.1",
|
||||||
"eslint-config-scratch": "^4.0.0",
|
"eslint-config-scratch": "^4.0.0",
|
||||||
"eslint-plugin-import": "^2.7.0",
|
"eslint-plugin-import": "^2.7.0",
|
||||||
|
|
Loading…
Reference in a new issue