-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.babelrc
38 lines (38 loc) · 806 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
35
36
37
38
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": ["ie >= 10"]
},
"modules": false,
"debug": false
}
],
"@babel/react",
"@babel/preset-typescript"
],
"ignore": ["node_modules"],
"plugins": [
"emotion",
"react-hot-loader/babel",
"transform-react-stateless-component-name",
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-transform-runtime",
{
"helpers": false,
"regenerator": true
}
],
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-optional-chaining"
],
"env": {
"test": {
"presets": [["@babel/preset-env"], "@babel/react"]
}
}
}