1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/ui/.babelrc

48 lines
830 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": [
"inline-react-svg",
"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
}