chore: Specify babelrc for server specifically (#1585)

This commit is contained in:
Tom Moor
2020-09-30 20:02:33 -07:00
committed by GitHub
parent 0b8eb326ab
commit f348db048e

22
server/.babelrc Normal file
View File

@@ -0,0 +1,22 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-flow",
[
"@babel/preset-env",
{
"corejs": {
"version": "2",
"proposals": true
},
"targets": {
"node": "12"
},
"useBuiltIns": "usage"
}
]
],
"plugins": [
"transform-class-properties"
]
}