static-cms/.babelrc

45 lines
1010 B
Plaintext
Raw Normal View History

2016-02-25 00:45:56 -08:00
{
"presets": [
2018-02-27 10:19:10 -07:00
"react",
["env", {
"modules": false
2018-02-27 10:19:10 -07:00
}]
],
2017-06-12 17:59:58 -07:00
"plugins": [
"lodash",
["babel-plugin-transform-builtin-extend", {
"globals": ["Error"]
}],
["transform-runtime", {
"useBuiltIns": true,
"useESModules": true
}],
["module-resolver", {
"root": [
"./src/components"
],
"alias": {
"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",
2018-05-15 16:37:59 -06:00
"transform-object-rest-spread",
"react-hot-loader/babel",
],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
2016-02-25 00:45:56 -08:00
}