mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-08-16 18:10:33 +03:00
Use preset-env (#512)
This commit is contained in:
parent
e96ef88e59
commit
923dea7aa3
10
.babelrc
10
.babelrc
@ -1,4 +1,10 @@
|
||||
{
|
||||
"presets": ["es2015", "react"],
|
||||
"plugins": ["transform-class-properties", "transform-object-rest-spread"]
|
||||
"presets": [
|
||||
"env",
|
||||
"react"
|
||||
],
|
||||
"plugins": [
|
||||
"transform-class-properties",
|
||||
"transform-object-rest-spread"
|
||||
]
|
||||
}
|
||||
|
@ -61,7 +61,7 @@
|
||||
"babel-helper-get-function-arity": "^6.8.0",
|
||||
"babel-plugin-transform-class-properties": "^6.6.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.8.0",
|
||||
"babel-preset-es2015": "^6.5.0",
|
||||
"babel-preset-env": "^1.4.0",
|
||||
"babel-preset-react": "^6.5.0",
|
||||
"chalk": "^1.1.3",
|
||||
"eslint": "^3.8.1",
|
||||
|
Loading…
Reference in New Issue
Block a user