-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.babelrc
41 lines (41 loc) · 1.01 KB
/
.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
{
"compact": false,
"plugins": [
"transform-decorators-legacy",
"transform-class-properties",
[
"babel-root-import",
{
"rootPathSuffix": "build"
}
],
"transform-es2015-modules-commonjs",
"transform-export-extensions",
[
"transform-object-rest-spread",
{
"useBuiltIns": true
}
],
"transform-react-jsx"
],
"env": {
"production": {
"sourceMaps": false,
"comments": false,
"plugins": [
"transform-react-constant-elements",
"transform-react-inline-elements",
"transform-remove-debugger",
"console-kungfu"
]
},
"development": {
"sourceMaps": true,
"plugins": [
"transform-react-display-name",
"transform-react-jsx-source"
]
}
}
}