-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
34 lines (34 loc) · 942 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"parserOpts": {
"plugins": ["flow"]
},
"plugins": [
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-classes",
"@babel/plugin-transform-arrow-functions",
"@babel/plugin-transform-block-scoped-functions",
"@babel/plugin-transform-block-scoping",
["@babel/plugin-transform-computed-properties", { "loose": false }],
"@babel/plugin-transform-destructuring",
"@babel/plugin-transform-duplicate-keys",
"@babel/plugin-transform-literals",
"@babel/plugin-transform-parameters",
"@babel/plugin-transform-shorthand-properties",
"@babel/plugin-transform-spread",
"@babel/plugin-transform-template-literals"
],
"env": {
"development": {
},
"production": {
},
"playground": {
"presets": [
["@babel/preset-env", { "modules": false }]
],
"plugins": [
"@babel/plugin-transform-flow-strip-types"
]
}
}
}