-
Notifications
You must be signed in to change notification settings - Fork 19
/
.babelrc
21 lines (21 loc) · 901 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"env": {
"es": {
"presets": ["es2015", "react", "stage-2"],
"plugins": ["transform-runtime", "transform-object-assign", "transform-decorators-legacy", "transform-class-properties", "react-hot-loader/babel"]
},
"umd": {
"presets": ["es2015", "react", "stage-2"],
"plugins": ["transform-runtime", ["transform-react-remove-prop-types", {"mode" : "wrap"}], "transform-object-assign", "transform-decorators-legacy", "transform-class-properties", "react-hot-loader/babel"]
},
"demo": {
"comments": false,
"presets": ["es2015", "react", "stage-2"],
"plugins": ["transform-decorators-legacy", "transform-class-properties", "react-hot-loader/babel"]
},
"development": {
"presets": ["es2015", "react", "stage-2"],
"plugins": ["transform-decorators-legacy", "transform-class-properties", "react-hot-loader/babel"]
}
}
}