2017-07-20 11:20:43 +02:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"module": {
|
|
|
|
"presets": [
|
2017-11-11 20:23:45 +01:00
|
|
|
["env", {
|
2017-11-13 14:18:18 +01:00
|
|
|
"targets": {
|
|
|
|
"node": "6",
|
|
|
|
"browsers": ["last 2 versions", "safari >= 7", "not ie < 11"]
|
|
|
|
},
|
2017-07-20 11:20:43 +02:00
|
|
|
"modules": false
|
2017-11-11 20:23:45 +01:00
|
|
|
}],
|
|
|
|
"stage-0",
|
|
|
|
"react"
|
2017-07-20 11:20:43 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"main": {
|
2017-11-13 12:53:21 +01:00
|
|
|
"presets": ["env", "stage-0", "react"]
|
2017-07-20 11:20:43 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"plugins": [
|
2017-11-11 20:23:45 +01:00
|
|
|
"babel-plugin-transform-regenerator",
|
|
|
|
"babel-plugin-transform-object-rest-spread",
|
|
|
|
"babel-plugin-inline-import",
|
|
|
|
"babel-plugin-transform-class-properties",
|
|
|
|
"babel-plugin-transform-es2015-classes",
|
|
|
|
"babel-plugin-syntax-dynamic-import"
|
2017-07-20 11:20:43 +02:00
|
|
|
]
|
2017-11-11 20:23:45 +01:00
|
|
|
}
|