Skip to content

Commit 6713772

Browse files
committed
use preset env and react
1 parent eb15d40 commit 6713772

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.babelrc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"presets": ["react-app"]
3-
}
2+
"presets": ["env", "react"],
3+
"plugins": [
4+
"transform-class-properties",
5+
"transform-object-rest-spread"
6+
]
7+
}

0 commit comments

Comments
 (0)