2017-02-20 18:15:36 +02:00
|
|
|
{
|
|
|
|
"sourceMaps": "both",
|
|
|
|
"presets": [
|
|
|
|
"react",
|
|
|
|
["env", {
|
|
|
|
"targets": {
|
|
|
|
"browsers": [
|
|
|
|
"last 2 versions"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
],
|
|
|
|
"plugins": [
|
2017-03-01 20:57:50 +02:00
|
|
|
["inline-react-svg", {
|
|
|
|
"ignorePattern": "assets\\/fonts\\/.*?\\.svg"
|
|
|
|
}],
|
2017-02-20 18:15:36 +02:00
|
|
|
"transform-es2015-modules-commonjs",
|
|
|
|
"transform-class-properties",
|
|
|
|
["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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|