2017-12-13 11:01:37 +00:00
|
|
|
{
|
2018-05-18 16:23:46 +00:00
|
|
|
"presets": [
|
|
|
|
["env", {
|
|
|
|
"useBuiltIns": true,
|
|
|
|
"loose": true
|
|
|
|
}],
|
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"plugins": [
|
2018-08-10 15:18:22 +00:00
|
|
|
"react-hot-loader/babel",
|
2018-05-18 16:23:46 +00:00
|
|
|
"transform-class-properties",
|
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-flow-strip-types",
|
|
|
|
["transform-runtime", {
|
|
|
|
"polyfill": false,
|
|
|
|
"regenerator": true
|
|
|
|
}],
|
2018-07-30 11:52:06 +00:00
|
|
|
["babel-plugin-root-import", {
|
|
|
|
"rootPathSuffix": "./src",
|
2018-08-13 10:19:10 +00:00
|
|
|
"rootPathPrefix": "~"
|
2018-07-30 14:30:25 +00:00
|
|
|
}],
|
|
|
|
"babel-plugin-styled-components"
|
2018-07-30 12:10:57 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"presets": ["jest"]
|
|
|
|
}
|
|
|
|
}
|
2017-12-13 11:01:37 +00:00
|
|
|
}
|