joyent-portal/ui/.babelrc

50 lines
881 B
Plaintext
Raw Permalink Normal View History

2016-10-23 07:27:18 +03:00
{
"sourceMaps": "both",
"presets": [
"react",
["env", {
"modules": false,
"targets": {
"browsers": [
"last 2 versions"
]
}
}]
2016-10-23 07:27:18 +03:00
],
"plugins": [
["inline-react-svg", {
"ignorePattern": "libre-franklin"
}],
"transform-class-properties",
2016-10-23 07:27:18 +03:00
["transform-object-rest-spread", {
"useBuiltIns": true
}],
["transform-react-jsx", {
"useBuiltIns": true
}],
"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
}