Add presets to babelrc
This commit is contained in:
parent
f82ecb4c96
commit
6d230047d5
1 changed files with 2 additions and 1 deletions
3
.babelrc
3
.babelrc
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"plugins": ["@babel/plugin-transform-runtime"]
|
"plugins": ["@babel/plugin-transform-runtime"],
|
||||||
|
"presets": ["@babel/preset-env", "@babel/preset-react"]
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue