2016-02-25 00:45:56 -08:00
|
|
|
{
|
2017-08-14 09:00:47 -04:00
|
|
|
"presets": [
|
|
|
|
["env", {
|
|
|
|
"modules": false
|
|
|
|
}],
|
|
|
|
"react"
|
|
|
|
],
|
2017-06-12 17:59:58 -07:00
|
|
|
"plugins": [
|
|
|
|
"lodash",
|
|
|
|
["babel-plugin-transform-builtin-extend", {
|
|
|
|
"globals": ["Error"]
|
|
|
|
}],
|
2017-08-14 09:00:47 -04:00
|
|
|
["transform-runtime", {
|
|
|
|
"useBuiltIns": true,
|
|
|
|
"useESModules": true
|
2017-12-08 09:53:28 -07:00
|
|
|
}],
|
|
|
|
["module-resolver", {
|
|
|
|
/**
|
|
|
|
* Use aliases to avoid relative path import hell.
|
|
|
|
*/
|
|
|
|
"root": [
|
|
|
|
/**
|
|
|
|
* Components
|
|
|
|
*/
|
|
|
|
"./src/components"
|
|
|
|
],
|
|
|
|
"alias": {
|
|
|
|
/**
|
|
|
|
* Top level src directories
|
|
|
|
*/
|
|
|
|
"Actions": "./src/actions/",
|
|
|
|
"Backends": "./src/backends/",
|
|
|
|
"Constants": "./src/constants/",
|
|
|
|
"Formats": "./src/formats/",
|
|
|
|
"Integrations": "./src/integrations/",
|
|
|
|
"Lib": "./src/lib/",
|
|
|
|
"Reducers": "./src/reducers/",
|
|
|
|
"Redux": "./src/redux/",
|
|
|
|
"Routing": "./src/routing/",
|
|
|
|
"ValueObjects": "./src/valueObjects/",
|
|
|
|
}
|
2018-01-17 14:09:29 -07:00
|
|
|
}],
|
|
|
|
"transform-export-extensions",
|
|
|
|
"transform-class-properties",
|
|
|
|
"transform-object-rest-spread",
|
2017-06-14 15:11:44 -07:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"plugins": ["transform-es2015-modules-commonjs"]
|
|
|
|
}
|
|
|
|
}
|
2016-02-25 00:45:56 -08:00
|
|
|
}
|