1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-26 11:50:07 +02:00
copilot/legacy/ui/.babelrc

50 lines
881 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", {
"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
}