joyent-portal/ui/.babelrc

47 lines
823 B
Plaintext
Raw Normal View History

2016-10-23 07:27:18 +03:00
{
"sourceMaps": "both",
"presets": [
"react",
["env", {
"targets": {
"browsers": [
"last 2 versions"
]
}
}]
2016-10-23 07:27:18 +03:00
],
"plugins": [
"transform-class-properties",
2016-10-23 07:27:18 +03:00
["transform-object-rest-spread", {
"useBuiltIns": true
}],
["transform-react-jsx", {
"useBuiltIns": true
}],
"transform-es2015-modules-commonjs",
"transform-exponentiation-operator"
],
"env": {
"development": {
"plugins": [
"transform-react-jsx-source",
"transform-react-jsx-self"
]
},
"test": {
"presets": [
["env", {
"targets": {
"node": "current"
}
}]
]
},
"production": {
"plugins": [
"transform-react-constant-elements"
]
}
}
2016-10-23 07:27:18 +03:00
}