chore: Specify babelrc for server specifically (#1585)
This commit is contained in:
22
server/.babelrc
Normal file
22
server/.babelrc
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user