| 1 |
// -------------------------------------------------------------------------- |
| 2 |
// --- Template .babelrc configuration file for Dome |
| 3 |
// -------------------------------------------------------------------------- |
| 4 |
|
| 5 |
/* |
| 6 |
Template from $(DOME)/template/babelrc.json |
| 7 |
|
| 8 |
This configuration is a necessary extension to electron-webpack |
| 9 |
for enabling react-hot-reloading. |
| 10 |
*/ |
| 11 |
|
| 12 |
{ |
| 13 |
"presets": [ |
| 14 |
[ "@babel/env", { "modules": false } ], |
| 15 |
[ "@babel/react" ] |
| 16 |
], |
| 17 |
"plugins": [ |
| 18 |
"@babel/plugin-proposal-object-rest-spread", |
| 19 |
"react-hot-loader/babel" |
| 20 |
] |
| 21 |
} |