-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.compilerc
35 lines (35 loc) · 859 Bytes
/
.compilerc
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
{
"env": {
"development": {
"application/javascript": {
"presets": [
["env", { "targets": { "electron": "1.6.0" } }],
"react"
],
"plugins": [
"transform-decorators-legacy",
"transform-async-to-generator",
"transform-es2015-classes",
"transform-object-rest-spread",
"react-hot-loader/babel"
],
"sourceMaps": "inline"
}
},
"production": {
"application/javascript": {
"presets": [
["env", { "targets": { "electron": "1.6.0" } }],
"react"
],
"plugins": [
"transform-decorators-legacy",
"transform-async-to-generator",
"transform-es2015-classes",
"transform-object-rest-spread"
],
"sourceMaps": "none"
}
}
}
}