-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.babelrc
More file actions
37 lines (37 loc) · 1.07 KB
/
.babelrc
File metadata and controls
37 lines (37 loc) · 1.07 KB
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
{
"env": {
"development": {
"presets": [ "react-app" ],
"plugins": [ "preval" ]
},
"production": {
"presets": [ "react-app" ],
"plugins": [ "preval" ]
},
"test": {
"presets": [ "react-app" ]
},
"commonjs": {
"presets": [ "./internals/babel-preset.js", "stage-1", "react" ],
"plugins": [
"transform-object-assign",
"transform-react-constant-elements",
"transform-runtime",
["transform-react-remove-prop-types", {
"mode": "wrap"
}]
]
},
"modules": {
"presets": [ "./internals/babel-preset.js", "stage-1", "react" ],
"plugins": [
"transform-object-assign",
"transform-react-constant-elements",
"transform-runtime",
["transform-react-remove-prop-types", {
"mode": "wrap"
}]
]
},
}
}