-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.babelrc
More file actions
39 lines (39 loc) · 723 Bytes
/
.babelrc
File metadata and controls
39 lines (39 loc) · 723 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
{
"env": {
"production": {
"plugins": [
["transform-react-remove-prop-types", {
"mode": "remove",
"removeImport": true,
"ignoreFilenames": ["node_modules"]
}]
]
}
},
"presets": [
[
"env",
{
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "Firefox ESR", "Safari >= 8", "IE >= 11"],
"uglify": true
},
"useBuiltIns": true
}
],
"react",
"stage-2"
],
"plugins": [
"universal-import",
"syntax-dynamic-import",
"transform-decorators-legacy",
[
"transform-class-properties",
{
"spec": true
}
]
]
}