babelrc: define browser targets
This commit is contained in:
parent
d69ba60b49
commit
a476ec21a3
1 changed files with 11 additions and 1 deletions
12
.babelrc
12
.babelrc
|
@ -1,6 +1,16 @@
|
|||
{
|
||||
"presets": [
|
||||
"@babel/preset-env",
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"chrome": 61,
|
||||
"firefox": 60,
|
||||
"edge": 16,
|
||||
"safari": 11
|
||||
}
|
||||
}
|
||||
],
|
||||
"@babel/preset-react"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue