forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.babelrc
More file actions
26 lines (26 loc) · 647 Bytes
/
.babelrc
File metadata and controls
26 lines (26 loc) · 647 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
{
"presets": ["./tools/material-ui-babel-preset-es2015", "stage-1", "react"],
"plugins": [
["transform-replace-object-assign", "simple-assign"],
"transform-dev-warning"
],
"env": {
"test": {
"sourceMaps": "both"
},
"docs-production": {
"plugins": [
["transform-replace-object-assign", "simple-assign"],
"transform-react-remove-prop-types",
"transform-react-constant-elements",
"transform-react-inline-elements"
]
},
"release": {
"plugins": [
"transform-runtime",
["transform-react-remove-prop-types", {"mode": "wrap"}]
]
}
}
}