1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-26 20:00:05 +02:00
copilot/legacy/frontend-technical-prototype/.babelrc

54 lines
999 B
Plaintext
Raw Normal View History

2016-10-20 04:14:26 +03:00
{
"presets": [
2016-12-12 12:56:48 +02:00
"react",
["env", {
"modules": false,
2016-12-12 12:56:48 +02:00
"targets": {
"browsers": [
"last 2 versions"
]
}
}]
2016-10-20 04:14:26 +03:00
],
"plugins": [
["inline-react-svg", {
"ignorePattern": "libre-franklin"
}],
"transform-class-properties",
2016-10-20 04:14:26 +03:00
["transform-object-rest-spread", {
"useBuiltIns": true
}],
["transform-react-jsx", {
"useBuiltIns": true
}],
"transform-exponentiation-operator"
2016-10-20 04:14:26 +03:00
],
"env": {
"development": {
2016-10-20 04:14:26 +03:00
"plugins": [
"transform-react-jsx-source",
"transform-react-jsx-self"
]
},
"test": {
"presets": [
["env", {
"targets": {
"node": "current"
2016-10-20 04:14:26 +03:00
}
}]
],
"plugins": [
2016-12-14 00:09:04 +02:00
["babel-plugin-webpack-alias", {
"config": "${CONFIG}"
2016-10-24 14:23:05 +03:00
}]
2016-10-20 04:14:26 +03:00
]
},
"production": {
"plugins": [
// "transform-react-constant-elements" enable when #5325 is fixed
]
2016-10-20 04:14:26 +03:00
}
}
}