Changed es2015 to env in babelrc.

This commit is contained in:
orangemug 2017-11-07 10:55:25 +00:00
parent b6ae51b5e5
commit d4569237f5

View file

@ -1,4 +1,4 @@
{
"presets": ["es2015", "react"],
"presets": ["env", "react"],
"plugins": ["transform-object-rest-spread", "transform-class-properties"]
}