forked from immense055/AtomicSwapWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.babelrc
50 lines (49 loc) · 1.15 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
42
43
44
45
46
47
48
49
50
//{
// "presets": [
// ["@babel/preset-env", {
// "targets": {
// "chrome": 52,
// "browsers": ["last 2 versions", "safari 7"]
// }
// }],
// "@babel/react"
// ],
// "plugins": [
// ["@babel/plugin-transform-runtime", {
// "helpers": false,
// "polyfill": false,
// "regenerator": true,
// "moduleName": "@babel/runtime"
// }],
// ["@babel/plugin-proposal-decorators", { "legacy": true }],
// ["@babel/plugin-proposal-class-properties", { "loose": true }]
// ],
// "env": {
// "development": {
// "plugins": ["react-hot-loader/babel"]
// },
// "production": {
// "plugins": ["@babel/plugin-transform-classes"]
// }
// }
//}
{
"presets": [ "react", ["env", {
"targets": {
"browsers": [ ">0.25%", "not ie 11", "not op_mini all"]
}
}], "stage-0" ],
"env": {
"production": {
"presets": ["minify"]
}
},
"plugins": [
[ "transform-object-rest-spread", { "useBuiltIns": true } ],
"transform-es2015-destructuring",
"transform-object-rest-spread",
"transform-runtime",
"transform-decorators-legacy",
"transform-class-properties"
]
}