forked from decaporg/decap-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
43 lines (43 loc) · 979 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"presets": [
"react",
["env", {
"modules": false
}]
],
"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/",
}
}],
"transform-export-extensions",
"transform-class-properties",
"transform-object-rest-spread"
],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
}