joyent-portal/legacy/ui/.babelrc
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

50 lines
881 B
Plaintext

{
"sourceMaps": "both",
"presets": [
"react",
["env", {
"modules": false,
"targets": {
"browsers": [
"last 2 versions"
]
}
}]
],
"plugins": [
["inline-react-svg", {
"ignorePattern": "libre-franklin"
}],
"transform-class-properties",
["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"
]
}
}
}