-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.babelrc
More file actions
executable file
·46 lines (45 loc) · 894 Bytes
/
.babelrc
File metadata and controls
executable file
·46 lines (45 loc) · 894 Bytes
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
39
40
41
42
43
44
45
46
{
"env":{
"node": {
"presets": [
"react",
["env", {
"modules": false,
"targets": {
"node": "current"
}
}],
"stage-2"
],
"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread"
]
},
"web": {
"presets": [
"react",
["env", {
"modules": false,
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
}
}],
"stage-2",
"stage-0"
],
"plugins": [
"react-hot-loader/babel",
"transform-object-assign",
"syntax-dynamic-import",
"transform-object-rest-spread",
["import", {
"libraryName": "antd",
"libraryDirectory": "lib",
"style": false
}]
]
}
},
"comments": false
}