1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00
copilot/ui/.babelrc

47 lines
806 B
Plaintext
Raw 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": [
"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
}