accounts-frontend/.babelrc
2016-11-27 13:49:24 +02:00

17 lines
429 B
Plaintext

{
"presets": ["react", "es2015", "stage-0"],
"plugins": [
["transform-runtime", {"polyfill": false}],
["react-intl", {"messagesDir": "./dist/messages/"}]
],
"env": {
"development": {
"presets": ["react-hmre"]
},
"test": {
// airbnb some how disables stage-0, so forcing it after airbnb
"presets": ["airbnb", "stage-0"]
}
}
}