add babel config file to include presets & plugins

This commit is contained in:
abhijithvijayan 2019-10-25 16:10:06 +05:30
parent 737074c046
commit 8d5bf5fdf7

22
.babelrc Normal file
View File

@ -0,0 +1,22 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": "49",
"firefox": "52",
"opera": "36"
}
}
]
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"regenerator": true
}
]
]
}