2016-10-23 07:27:18 +03:00
|
|
|
{
|
|
|
|
"sourceMaps": "both",
|
|
|
|
"presets": [
|
2016-12-12 18:53:20 +02:00
|
|
|
"react",
|
2017-02-07 17:52:24 +02:00
|
|
|
["env", {
|
2017-02-20 18:15:36 +02:00
|
|
|
"modules": false,
|
2017-02-07 17:52:24 +02:00
|
|
|
"targets": {
|
|
|
|
"browsers": [
|
|
|
|
"last 2 versions"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}]
|
2016-10-23 07:27:18 +03:00
|
|
|
],
|
|
|
|
"plugins": [
|
2017-02-07 17:52:24 +02:00
|
|
|
"transform-class-properties",
|
2016-10-23 07:27:18 +03:00
|
|
|
["transform-object-rest-spread", {
|
|
|
|
"useBuiltIns": true
|
2017-02-07 17:52:24 +02:00
|
|
|
}],
|
|
|
|
["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
|
|
|
}
|