Whalebird-desktop-client-ma.../.babelrc

56 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-03-07 14:28:48 +01:00
{
"comments": false,
"env": {
"test": {
"presets": [
["@babel/preset-env", {
"targets": { "node": 10 }
}]
2018-03-07 14:28:48 +01:00
],
"plugins": [
"istanbul",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime"
]
2018-03-07 14:28:48 +01:00
},
"main": {
"presets": [
["@babel/preset-env", {
"targets": { "node": 10 }
}]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime"
2018-03-07 14:28:48 +01:00
]
},
"renderer": {
"presets": [
["@babel/preset-env", {
"modules": false,
"targets": { "electron": "6" }
}]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime"
2018-03-07 14:28:48 +01:00
]
},
"web": {
"presets": [
["@babel/preset-env", {
2018-03-07 14:28:48 +01:00
"modules": false
}]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime"
2018-03-07 14:28:48 +01:00
]
}
}
2018-03-07 14:28:48 +01:00
}