-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.babelrc
31 lines (31 loc) · 797 Bytes
/
.babelrc
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
{
"presets": ["airbnb", "react", "stage-0", ["env", {
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
},
"include": ["transform-es2015-arrow-functions", "es6.map"],
"exclude": ["transform-regenerator"],
"useBuiltIns": true
}]],
"plugins": [
"react-hot-loader/babel",
["transform-require-ignore", {
"extensions": [".css"]
}],
"transform-class-properties",
"syntax-trailing-function-commas",
"transform-decorators-legacy",
["module-resolver", { "root": ["./src", "./"] }]
],
"env": {
"development": {
"plugins": [
["react-intl", {
"messagesDir": "./build/messages/",
"enforceDescriptions": true,
"removeExtractedData": true
}]
]
}
}
}